Ief Posted December 23, 2021 Share Posted December 23, 2021 Hello, I'm new to Alfred and I want to make a workflow when I can switch between dark and light mode. I've got a Applescript that works: tell application "System Events" tell appearance preferences set dark mode to not dark mode end tell end tell But in my workflow it doesn't. Who can help me with this please? There are a few dark mode workflows for Alfred on internet but they don't work. Southgirl 1 Link to comment
vitor Posted December 24, 2021 Share Posted December 24, 2021 Welcome @Ief, Your code looks correct, and so does your Workflow setup (though in the future, please upload it because it’s hard to tell from screenshots alone). This is looking like a permissions issue, so see the troubleshooting steps. Also, check the debugger. Link to comment
Ief Posted December 25, 2021 Author Share Posted December 25, 2021 Hello, Thanks. It was a permission issue. 👌 Link to comment
Chris Messina Posted December 30, 2021 Share Posted December 30, 2021 On 12/23/2021 at 11:44 AM, Ief said: I'm new to Alfred and I want to make a workflow when I can switch between dark and light mode. You may also want to check out alfred-dark-mode-toggle. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now