How to automate macOS Preferences
What is the equivilent of this in soundflow ?
tell application "System Preferences"
reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard"
end tell
tell application "System Events" to tell process "System Preferences"
click checkbox 1 of tab group 1 of window 1
end tell
quit application "System Preferences"
- Christian Scheuer @chrscheuer2020-10-10 22:57:17.905Z
Hi Chris,
For the 2nd part:
The easiest way to get this working in SoundFlow is by using UI automation.You would create a new macro, use the Click UI Element action and use the picker to point at the checkbox (if what you want is for it to just toggle).
For the 1st part, you could use an "Execute System Command" with this in the Command Line:
open /System/Library/PreferencePanes/Keyboard.prefPane
Christian Scheuer @chrscheuer2020-10-10 22:58:09.626Z
So you'd probably end up with something like this:
Christian Scheuer @chrscheuer2020-10-10 22:58:25.531Z
If that was the specific checkbox you were looking for