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