Advertisement
Guest User

Untitled

a guest
Apr 19th, 2013
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WinGet, WowWinId, List, World of Warcraft
  2. #NoEnv
  3. #HotkeyInterval -1
  4. #MaxHotkeysPerInterval 99999999999999999
  5. #MaxThreadsPerHotkey 999999999999
  6. #MaxThreadsBuffer on
  7. #Persistent
  8. #SingleInstance Force
  9. Thread, priority, 0
  10. Thread, interrupt, 0
  11. SetKeyDelay -1,-1,-1                                                    
  12. SetBatchLines -1
  13. SetWinDelay -1
  14. SetControlDelay -1
  15. SetMouseDelay -1
  16. SendMode Input
  17. Process Priority,,High
  18.  
  19.  
  20. ClonesPush(strKeys)
  21. {
  22.     global WowWinId1
  23.     global WowWinId2
  24.     global WowWinId3
  25.     global WowWinId4
  26.     global WowWinId5
  27.     global WowWinId6
  28.     global WowWinId7
  29.     global WowWinId8
  30.     IfWinNotActive, ahk_id %WowWinId1%
  31.         ControlSend, , %strKeys%, ahk_id %WowWinId1%
  32.     IfWinNotActive, ahk_id %WowWinId2%
  33.         ControlSend, , %strKeys%, ahk_id %WowWinId2%
  34.     IfWinNotActive, ahk_id %WowWinId3%
  35.         ControlSend, , %strKeys%, ahk_id %WowWinId3%
  36.     IfWinNotActive, ahk_id %WowWinId4%
  37.         ControlSend, , %strKeys%, ahk_id %WowWinId4%
  38.     IfWinNotActive, ahk_id %WowWinId5%
  39.         ControlSend, , %strKeys%, ahk_id %WowWinId5%
  40.     IfWinNotActive, ahk_id %WowWinId6%
  41.         ControlSend, , %strKeys%, ahk_id %WowWinId6%
  42.     IfWinNotActive, ahk_id %WowWinId7%
  43.         ControlSend, , %strKeys%, ahk_id %WowWinId7%
  44.     IfWinNotActive, ahk_id %WowWinId8%
  45.         ControlSend, , %strKeys%, ahk_id %WowWinId8%
  46. }
  47.  
  48.  
  49.  
  50.  
  51. ClonesPush("{Space}")
  52.  
  53. f8::Pause
  54.  
  55. *~$f9::
  56. {
  57.  
  58.    toggle:=!toggle
  59.  
  60.  
  61.  
  62.    while, toggle
  63.  
  64.     {
  65.  
  66.  
  67. Loop, 78
  68. {
  69. ClonesPush("{1}")
  70. sleep 600
  71. }
  72. Loop, 50
  73. {
  74. ClonesPush("{f7}")
  75. sleep 100
  76. ClonesPush("{2}")
  77. sleep 100
  78. }
  79.  
  80.  
  81.     }
  82.  
  83.  }
  84.  
  85. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement