I want to open a new Desktop/Space in Mac OS Sierra. For an Alfred Workflow.
I tried it with a Applescript snippet that I found here:
Automator + Applescript how to: new Desktop (open Calendar and Reminders in it)
But this one does not seem to work under Mac OS Sierra.
I opened up the Accessibility Inspector and found out that there are two new groups.
https://i.imgur.com/PwlWvmz.png
So I tried this:
tell process "Dock" to tell group 1 to tell group 1 to tell group 1 to tell button 1 to click`
end tell
But it does not click the Button. Maybe someone is able to help me.
No comments:
Post a Comment