Advertisement
Guest User

Untitled

a guest
Apr 13th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- List of key codes:
  2. -- http://macbiblioblog.blogspot.com/2014/12/key-codes-for-function-and-special-keys.html
  3.  
  4. tell application "System Events"
  5.     -- cmd+arrow down
  6.     key code 125 using {command down}
  7.     -- Just in case
  8.     delay 0.2
  9.     -- cmd+control+, (System Preferences > Keyboard > Shortcuts  > Keyboard > Move focus to next window)
  10.     key code 43 using {control down, command down}
  11.     -- Just in case
  12.     delay 0.2
  13.     -- cmd+arrow down
  14.     key code 125 using {command down}
  15. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement