How do I navigate to Mouse & Trackpad in Accessibility Settings with AppleScript? I used Accessibility Inspector to try and help me figure this out but I wasn't quite able to get it. I'm navigating to the Accessibility pane but after that I am having trouble navigating to Mouse &amp; Trackpad, or any other menu item for that matter. 

tell application "System Preferences"
    set current pane to pane "com.apple.preference.universalaccess"
end tell
tell application "System Events" to tell process "System Preferences"

    -- part that I am having trouble with
    tell table 1 of scroll area 1 of window 1
    select row 1
    end tell

end tell
You don't need UI Scripting to be able to do this.  System Preferences has an applescript dictionary that allows you to open up specific preference screens (panes) and specific items in the table (anchors).

tell application "System Preferences"
    reveal anchor "Mouse" of pane id "com.apple.preference.universalaccess"
    activate
end tell


Will open up the mouse and trackpad section. I found this by looking at the AppleScript dictionary for System Preferences, and some googling took me to an excellent discussion of using these commands.