Raipin

Fury

Apr 23rd, 2015
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv
  2. SendMode Input
  3. #InstallKeybdHook
  4. #UseHook
  5. #SingleInstance force
  6. #MaxThreadsPerHotkey 2
  7.  
  8.  
  9. GroupAdd, wildstar, ahk_exe Wildstar.exe
  10. GroupAdd, wildstar, ahk_exe Wildstar64.exe
  11.  
  12. toggle := 0
  13.  
  14. #IfWinActive, ahk_group wildstar
  15.  
  16. *NumpadAdd::
  17. toggle := !toggle
  18. while (toggle) {
  19.   PixelGetColor, AMColor, 3, 3
  20.   if (AMColor = 0x0000FF) {
  21.     Send, f
  22.   }
  23.   else if (AMColor = 0x00FF00) {
  24.     Send, q
  25.   }
  26.   else if (AMColor = 0xFF0000) {
  27.     Send, 3
  28.   }
  29.   else if (AMColor = 0x00FFFF) {
  30.     Send, 4
  31.   }
  32.   else {
  33.     Send, e
  34.   }
  35. }
  36. return
Advertisement
Add Comment
Please, Sign In to add comment