Facebook
From Scanty Bird, 3 Years ago, written in Autohotkey.
Embed
Download Paste or View Raw
Hits: 145
  1. #IfWinActive ahk_exe Photoshop.exe
  2. Shift::
  3. Send,{ShiftDown}
  4.     sleep,100
  5.     if (GetKeyState("Alt","P")) {
  6.         Send,{ShiftUp}
  7.         Sleep,100
  8.         Send,{AltDown}
  9.         Sleep,100
  10.         Send,{ShiftDown}
  11. ;        tooltip, Send Shift & Alt Down
  12.  
  13.         KeyWait,Shift
  14. ;        tooltip,
  15.         break
  16.     }
  17. }
  18. return
  19. Shift Up:: Send,{ShiftUp}
  20.  
  21. Alt::
  22.     if (!GetKeyState("Shift")) {
  23.         Send,{AltDown}
  24.     }
  25. return
  26. Alt Up:: Send,{AltUp}
  27.