Advertisement
tabnation

window helper beta

Dec 31st, 2021
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. ;TabNation (Thom Beech) 2021
  2. ;v1
  3. ;Updates
  4. ;change from 3 hotkeys to context menu with one key
  5. ;added testing mode
  6.  
  7.  
  8. SetKeyDelay, 500
  9. StringCaseSense, off
  10. settitlematchmode, 2
  11. MsgBox, 1, Help, Press f1 for menu`nn Warning AHK in some programs/games can get you banned. When in dout check their TOS.`n`nCurrent program count = 30
  12. Return
  13.  
  14. f1::
  15.  
  16. Menu, submenu1, Add, 1 Contral Send, subhandle1
  17. Menu, submenu1, Add, 2 send, subhandle2
  18. Menu, submenu1, Add, 3 mousemove, subhandle3
  19.  
  20. Menu, MainMenu, Add, 1 Get Window Info, handle1
  21. Menu, MainMenu, Add, 2 Master List, handle2
  22. Menu, MainMenu, Add, 3 Testing Mode, :submenu1
  23. Menu, MainMenu, Add, 4 Close App, handle4
  24. Menu, MainMenu, Show
  25. Return
  26.  
  27. handle1:
  28. WinGetTitle, Title, A
  29. ;=====================================
  30. ; A-F
  31. ;=====================================
  32. if Title contains atom
  33. {
  34. MsgBox, 1, atom,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  35. return
  36. }
  37. if Title contains black ops
  38. {
  39. MsgBox, 1, Black Ops,- wont start with ahk running
  40. return
  41. }
  42. if Title contains Chrome
  43. {
  44. MsgBox, 1, Chrome,- Coms do not work`n- Will need to use mouseclicks and sends`n- contralsend does not work
  45. Return
  46. }
  47. if Title contains Diablo 3
  48. {
  49. MsgBox, 1, Diablo 3, Likes a small sleep between up/down event`n- Use windowed mode`n- Does pretty good with rapid keypresses
  50. }
  51. if Title contains Discord
  52. {
  53. MsgBox, 1, Discord,- Very Limted on what you can do`n- Is aginst there TOS so could be banned. (they do have bots if you run your own server)
  54. Return
  55. }
  56. if Title contains DOTA 2
  57. {
  58. MsgBox, 1, DOTA 2,- Single key maps are ok`n- More then that will get account banned
  59. Return
  60. }
  61. if Title contains excel
  62. {
  63. MsgBox, 1, excel,- Works well`n- Can use send commands or use coms to grab/inputdata`n- Coms can gather/input data with out needed to have excel open
  64. return
  65. }
  66. if Title contains Final Fantasy XI
  67. {
  68. MsgBox, 1, Final Fantasy XI,- Generally needs #UseHook`n- Windows 10 user need to start script in administrator mode enabled as the game need to be in administrator mode as well to run.
  69. Return
  70. }
  71. ;=====================================
  72. ; G-L
  73. ;=====================================
  74. if Title contains GTA V
  75. {
  76. MsgBox, 1, GTA V,- Works fine in single player but multi can get you banned but seems rare`n- Will not work when running from a macro creator
  77. Return
  78. }
  79. if Title contains Growtopia
  80. {
  81. MsgBox, 1, Growtopia,- Contralsend works well
  82. return
  83. }
  84. if Title contains Guild wars 2
  85. {
  86. MsgBox, 1, Guild wars 2,- Works Well`n- Allowed for playing music in the game or for some non`n- gameplay related things`n- Gameplay is restricted to one-key press per action`n- nOfficial policy here: https://help.guildwars2.com/hc/en-us/articles/360013762153-Policy-Macros-and-Macro-Use`n- contralsend works
  87. return
  88. }
  89. if Title contains League of Legends
  90. {
  91. MsgBox, 1, League of Legends,- Likes a sleep between up/down events`n- Use windowed mode
  92. Return
  93. }
  94. ;=====================================
  95. ; M-R
  96. ;=====================================
  97. if Title contains Mailspring
  98. {
  99. MsgBox, 1, Mailspring,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  100. return
  101. }
  102. if Title contains Minecraft
  103. {
  104. MsgBox, 1, Minecraft,- Works well`n- pixel and image search very poor as blocks randomize particles`n- Bans come from server host so up to them
  105. Return
  106. }
  107. if Title contains overwatch
  108. {
  109. MsgBox, 1, overwatch,- bans lots when ahk is running even for 1 to 1 remap`n- Some people have used scripts for years before getting banned
  110. return
  111. }
  112. if Title contains Roblox
  113. {
  114. MsgBox, 1, Roblox,- Works well but sleeps are needed between sends and clicks. sleep 250 seems to work fine. No reports of banning for automating button press`n- Can be banned for creating chat spamming bots`n- Contralsend or Contralclicks will not work. Game needs to be active window
  115. return
  116. }
  117. ;=====================================
  118. ; S-Z
  119. ;=====================================
  120. if Title contains Skype
  121. {
  122. MsgBox, 1, Skype,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  123. return
  124. }
  125. if Title contains Slack
  126. {
  127. MsgBox, 1, Slack,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  128. return
  129. }
  130. if Title contains Streamlabs
  131. {
  132. MsgBox, 1, Streamlabs,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  133. return
  134. }
  135. if Title contains The Stick of Truth
  136. {
  137. MsgBox, 1, The Stick of Truth,- Requires regular reinstatements of #UseHook`n- This game regularly overrides key hooks causing working scripts to stop working until reloaded
  138. return
  139. }
  140. if Title contains Trove
  141. {
  142. MsgBox, 1, Trove,- Works well as long in you are in window mode`n- Known for banning AHK so need to complie script
  143. return
  144. }
  145. if Title contains tusk
  146. {
  147. MsgBox, 1, tusk,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  148. return
  149. }
  150. if Title contains Valheim
  151. {
  152. MsgBox, 1, Valheim,- Works well`n- Bans come from server host so up to them.
  153. return
  154. }
  155. if Title contains Valorant
  156. {
  157. MsgBox, 1, Valorant,- Works well`n- Known for banning people using AHK best to compile
  158. return
  159. }
  160. if Title contains Visual Studio
  161. {
  162. MsgBox, 1, Visual Studio ,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  163. return
  164. }
  165. if Title contains Warpath
  166. {
  167. MsgBox, 1, Warpath,- It works pretty well. I usually combine it with Bluestacks own macro recorder1n- Pixel search is difficult as colors are somewhat dynamic/changing. It is almost entirely mouse moves and clicks
  168. return
  169. }
  170. if Title contains World of Warcraft
  171. {
  172. MsgBox, 1, World of Warcraft,- Works well but very big on banning. Most peoples accounts will get banned with in a month or two and they will not unban you. The AI is one of the best in looking for automating scripts
  173. return
  174. }
  175. if Title contains WordPress
  176. {
  177. MsgBox, 1, WordPress,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  178. return
  179. }
  180. if Title contains WhatsApp
  181. {
  182. MsgBox, 1, WhatsApp,- Electron app`n- Coms will not work will need to use send and mousemove clicks
  183. return
  184. }
  185.  
  186.  
  187. MsgBox, 1, No Data, No info found. Please email tadamm88@gmail.com with anything you learn to be added. TY!`n`nPlease included This info = %Title%
  188. Return
  189.  
  190. handle4:
  191. exitapp
  192.  
  193. handle2:
  194. listall=
  195. (
  196. Current list
  197. ---------------------
  198. atom
  199. black ops
  200. Chrome
  201. Diablo 3
  202. Discord
  203. DOTA 2
  204. excel
  205. Final Fantasy XI
  206. GTA V
  207. growtopia
  208. Guild wars 2
  209. League of Legends
  210. Mailspring
  211. Minecraft
  212. overwatch
  213. Roblox
  214. Skype
  215. Slack
  216. Streamlabs
  217. The Stick of Truth
  218. Trove
  219. tusk
  220. Valheim
  221. Valorant
  222. Visual Studio
  223. Warpath
  224. World of Warcraft
  225. WordPress
  226. WhatsApp
  227. )
  228. MsgBox, 1, Master List, %listall%
  229. return
  230.  
  231.  
  232. subhandle1:
  233. ;testing mode Contral Send
  234. InputBox, UserInput, Pick the window you want to test on and click ok. Make sure to have another window open.`n`nWhat keys would you like to send? for mod keys use something like {enter}
  235. WinGetTitle, Title, A
  236. send !{tab}
  237. sleep 2000
  238. clipboard= "WinGetTitle, Title, A"`n"controlSend,,abc{enter}, %Title%"
  239. controlSend,,%UserInput%, %Title%
  240. msgbox, Done. Switch back to window and check if worked. Syntax is now in your clipboard for you to use
  241. return
  242.  
  243. subhandle2:
  244. ;testing mode send
  245. InputBox, UserInput, Pick the window you want to test on and click ok.`n`nWhat keys would you like to send? for mod keys use something like {enter}
  246. Send %UserInput%
  247. clipboard = "send abc{enter}"
  248. msgbox, Done. check if worked. Syntax is now in your clipboard for you to use
  249. return
  250.  
  251. subhandle3:
  252. ;testing mode mousemove
  253. MouseMove, 20, 30, 50, R
  254. sleep 500
  255. click
  256. sleep 500
  257. clipboard ="MouseMove, 20, 30, 50, R"`n"MouseMove, X, Y , Speed, Relative"
  258. msgbox, Done. check if worked. Syntax is now in your clipboard for you to use
  259. return
  260.  
  261.  
  262.  
  263.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement