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
503 stars 30 forks source link

Scheduled using previous location.. #70

Open etrahretep opened 5 years ago

etrahretep commented 5 years ago

Getting "Scheduled using previous location.." several times after login or restart (up to 6/7times). Also AppleScript error -1751 occasionally. Running Mojave 14.6 and Catalina dev beta 3.

Occurs on both platforms.

Any idea?

ApolloZhu commented 5 years ago

Based on my experience, there are multiple reasons it schedules using previous location:

About -1751, I’m actually kind of lost. It’s official name is “errOSAInvalidID” but has no description about what that means. Since it never showed up before disabling sandbox, I assume it might be related to returning focus back to the front most application

etrahretep commented 5 years ago

You could be right about the -1751. Sometimes it states that is can't be started because of FontexplorerX (which is at that moment the front most application.)

I have connection (Wifi & ethernet) so a delay could work.

ApolloZhu commented 5 years ago

Returning focus should be fixed in the next release, I'm still researching on the other issue for the best solution