I don't know a lot about AppleScript. I am trying to set it up so that it will click the Tap to click checkbox on the System Preferences/Touchpad screen. Is there something in Alfred that would prevent this from working?
on alfred_script(q)
tell application "System Preferences"
activate
set the current pane to pane id "com.apple.preference.trackpad"
delay 1
end tell
delay 2
tell application "System Events" to tell process "System Preferences"
click checkbox "Tap to click" of tab group 1 of window "Trackpad"
end tell
delay 1
tell application "System Preferences"
quit
end tell
end alfred_script
I know that I can access specific sections of System Preferences through Alfred. I am wondering if it is possible to access individual settings. Can I get it to click a checkbox, for instance? Or is Alfred not that type of workflow app?
Thanks.
I was adding a couple of new workflows and now the icons are overlapping the names. I'm pretty sure it wasn't doing it before. Any idea why this is happening or if there's any way to fix it? It's not affecting anything, it's just annoying to look at.
Thanks