stephancasas / alfred-mouseless-messenger

Preview and reply to your messages from within Alfred. Keep your hands on that keyboard!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workflow doesn't run if kCFPreferencesAnyApplication β†’ AppleInterfaceStyle is nil + Use System Setting is selected for Color Scheme

luckman212 opened this issue Β· comments

Hey @stephancasas πŸ‘‹ I'm on Sonoma 14.1 (23B73) RC. First time I ran the Workflow, it errored out with:

screenshot_rli69FPl

image

Was easy to guess the problem, on my system AppleInterfaceStyle doesn't seem to exist in my NSGlobalDomain. Even manually setting it to "Dark" and then back to "Light" in Sysprefs didn't change things:

$ defaults read -g AppleInterfaceStyle
2023-10-24 08:38:42.826 defaults[65397:6990884]
The domain/default pair of (kCFPreferencesAnyApplication, AppleInterfaceStyle) does not exist

So, I set the Workflow manually to "Light" and it works great (amazing workflow btw πŸŽ‰ ) Seems like this is the same problem... maybe you can trap for that and avoid the error?

Here's my System Settings β†’ Appearance btw

screenshot_g7TG1LXS