Advertisement
Guest User

Flask Macro PoE

a guest
Feb 28th, 2019
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #IfWinActive, ahk_class POEWindowClass
  2.  
  3. SendMode Input
  4.  
  5. SetWorkingDir, % A_ScriptDir
  6.  
  7. #SingleInstance, Force
  8.  
  9. F2::
  10.     toggle:=1
  11.  
  12.     while (toggle)
  13.  
  14.     {
  15.         random, delay2, 57, 114
  16.  
  17.         random, delay3, 57, 114
  18.  
  19.         random, delay4, 57, 114
  20.  
  21.         random, delay5, 57, 114
  22.  
  23.         send, {1}
  24.  
  25.         sleep, %delay2%
  26.         send, {2}
  27.  
  28.         sleep, %delay3%
  29.         send, {3}
  30.  
  31.         sleep, %delay4%
  32.         send, {4}
  33.  
  34.         sleep, %delay5%
  35.         send, {5}
  36.    
  37.         Sleep, 4700
  38.     }
  39. Return
  40.  
  41. F1::  toggle:=!toggle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement