ApolloZhu / Dynamic-Dark-Mode

The smart, automatic Dark Mode toggle for macOS Mojave+
https://apollozhu.github.io/Dynamic-Dark-Mode/
GNU General Public License v3.0
504 stars 31 forks source link

Failed to toggle dark mode NSAppleScriptErrorNumber 43 #68

Closed etrahretep closed 4 years ago

etrahretep commented 5 years ago

Failed to toggle dark mode NSAppleScriptErrorNumber 43 Version 1.3 Running macOS 10.14.6 bèta (18G29g)

ApolloZhu commented 5 years ago

Version 1.3.0 works fine on macOS 10.14.4. I'll get back to you as soon as I update to beta os and test the app on it.

Since error 43 usually means "file not found", my hypothesis is that AppleScript couldn't find the frontmost, focused application. If you don't mind to share, what app were you using when dark mode toggle is triggered?

etrahretep commented 5 years ago

Downloaded the zip instead of pkg. Working now! No idea what caused it. Only finder was open when toggling.

ApolloZhu commented 5 years ago

Interestingly, both zip and pkg works for me on macOS 10.14.6 beta. Not sure what happened but I'm glad it worked out in the end ;)

ApolloZhu commented 5 years ago

@Vince14Genius you mentioned -43 in #22, are you also experiencing this issue these days with 1.3.0?