Skip to content

Applescript to quickly toggle my custom trackpad settings on/off, when sharing my laptop with friends.

Notifications You must be signed in to change notification settings

jimdanger/CustomTrackpadScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Trackpad setup toggle script

😕 Summary

  • Applescript to quickly toggle my custom trackpad settings on/off.
  • Prevents frustration in others who use my machine.

🐭 My trackpad setup

  • Correct scrolling. (Default is backwards.)
  • Three Finger Drag. (Default is off.)
  • Four finger up swipe for Mission Control. (Default is 3; can't coexist with three finger drag.)

❓ Why?

  • Drag: On my first mac, my trackpad's button broke. To click anything, I had to enable tap-to-click. To move anything, I had to enable three finger drag. Out of necessity I saw the light: these settings are more efficient.
  • Scroll direction: In 2011 Apple released OS X Lion, flipping the default direction of two finger scroll. I've been using macs since before 2011. (Is there a hipster emoji?)

:shipit: To install

  • Pull repo
  • Open the Applescript with Script Editor
  • Read "Gotchas" section. ❗ Required. ❗
  • Click run or press command r
  • Bonus:
    • Export the Applescript as an Application. (Script Editor -> File -> Export...)
    • Then, either put the Application in your dock, or memorize whatever you name it, so you can spotlight-run it quickly.

❗ Gotchas

  • You must authorize control of your computer.

Won't run properly in Applescript Editor

  • System Preferences -> Security & Privacy -> Accessibility -> Add 'Script Editor' to 'Allow the apps below to control your computer.

Exported Application won't run properly.

  • System Preferences -> Security & Privacy -> Accessibility -> Add '[Exported App]' to 'Allow the apps below to control your computer.'

↕️ I only want to toggle scroll direction.

  • No problem!
    • Pull this repo
    • Open the Applescript with Script Editor
    • Find the following line: set userWantsToToggleThreeFingerDrag to true
    • Change true to false

About

Applescript to quickly toggle my custom trackpad settings on/off, when sharing my laptop with friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published