Advertisement
Elusive

SwapBraceSquareBracket

May 23rd, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *$[::
  2.     if (GetKeyState("Shift"))
  3.     {
  4.         SendInput, {[ Down}
  5.     }
  6.     else
  7.     {
  8.         SendInput, {{ Down}
  9.     }  
  10.     return
  11.  
  12. *$]::
  13.     if (GetKeyState("Shift"))
  14.     {
  15.         SendInput, {] Down}
  16.     }
  17.     else
  18.     {
  19.         SendInput, {} Down}
  20.     }
  21.     return
  22.  
  23. *$[ Up::
  24.     if (GetKeyState("Shift"))
  25.     {
  26.         SendInput, {[ Up}
  27.     }
  28.     else
  29.     {
  30.         SendInput, {{ Up}
  31.     }  
  32.     return
  33.  
  34. *$] Up::
  35.     if (GetKeyState("Shift"))
  36.     {
  37.         SendInput, {] Up}
  38.     }
  39.     else
  40.     {
  41.         SendInput, {} Up}
  42.     }
  43.     return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement