Posted By

Atomicflare on 08/11/17


Tagged

keyboard keystroke keycode


Versions (?)

Keyboard


 / Published in: AppleScript
 

Just a reference for most keyboard commands in applescript

  1. tell application "System Events"
  2. keystroke "a"
  3. keystroke "b" using command down
  4. keystroke "c" using {shift down, command down}
  5. keystroke 116 --PageUp
  6. keystroke 121 --PageDown
  7. keystroke 123 --LeftArrow
  8. keystroke 124 --RightArrow
  9. keystroke 125 --DownArrow
  10. keystroke 126 --UpArrow
  11. end tell

Report this snippet  

You need to login to post a comment.