I'm working on a applescript that when I run will change the scrolling direction in trackpad. Its for when I'm using my mouse I don't want to get used to going the other way than other computers I use. Heres the code
Its at the line
that I get messed up. I was able to make the selection in the mouse pane work but I would rather it be the trackpad one. How can I make it so the script goes to the tab scroll & zoom and what do I put for the checkbox name? Thanks for the help
Code:
tell application "System Preferences"
set current pane to pane "Trackpad"
tell application "System Events"
tell window "Trackpad" of process "System Preferences"
click checkbox "Scroll direction: natural"
end tell
end tell
end tell
tell application "System Preferences"
quit
end tell
Its at the line
Code:
tell window "Trackpad" of process "System Preferences"
click checkbox "Scroll direction: natural"