Hello! I’m still relatively new to Apple Script and searched out potential solutions for my script issue.
The Script opens up the Shades Preferences but where my problem lies is that I want to have the script click the “Start” button. I’m not sure if I need to be using “tab groups”, etc, which I’ve seen other scripts use from my research?
Any guidance will be appreciated.
-Aaron
https://www.flickr.com/photos/151467979@N04/shares/8PgT16
tell application "System Preferences"
activate
set current pane to pane "Shades"
end tell
tell application "System Events"
tell process "System Preferences"
tell window "Shades"
click button "Start" of window "Shades"
end tell
end tell
end tell