chesterkmr 0 Report post Posted June 11, 2016 Hello there.Found this script on forum for AHK.Can someone help me to work like that If A_Index = 15 To start script from start and spam from trade 1 I tried to google,did search AHK site for a bit.But im bad in programming.So if someone can help me,i will very appreciate it.Thanks F1:: { BlockInput On SendMode Input loop { Send {ENTER} Send /trade %A_Index% Send {ENTER} Send {ENTER} Send {Up 2} Sleep, 1200 Send {ENTER} If A_Index = 15 break else Sleep, 1200 } BlockInput Off } return Quote Share this post Link to post Share on other sites
chesterkmr 0 Report post Posted June 12, 2016 someone? Quote Share this post Link to post Share on other sites
PhalanxRS 1 Report post Posted June 26, 2016 (edited) You need to add A_INDEX = A_INDEX + 1 in the loop Edited June 26, 2016 by Holyman Quote Share this post Link to post Share on other sites
immo 219 Report post Posted July 6, 2016 Check this out. Quote Share this post Link to post Share on other sites
godre 0 Report post Posted September 8, 2016 (edited) WORKS IN 2.4 with AHK IN ACTIVE WINDOW ... PLEASE HELP TO EDIT IT TO WORK IN BACKGROUND PLEASE SOMEONE !! script #If Path of Exile Macro1: Loop { Loop { WinActivate, Path of Exile ahk_class Direct3DWindowClass Sleep, 333 Sleep, 2652 Send, {Enter} Sleep, 1170 Send, {Backspace} Sleep, 593 Send, {/} Sleep, 390 Send, {t} Sleep, 234 Send, {r} Sleep, 172 Send, {a} Sleep, 171 Send, {d} Sleep, 188 Send, {e} Sleep, 1232 Send, {Space} Sleep, 203 Send, {1} Sleep, 234 Send, {Enter} Sleep, 733 Send, {Enter} Sleep, 1544 Send, {Up} Sleep, 406 Send, {Up} Sleep, 749 Send, {Enter} Sleep, 749 Send, {Enter} Sleep, 546 Send, {Up} Sleep, 327 Send, {Up} Sleep, 640 Send, {Backspace} Sleep, 312 Send, {2} F8::ExitApp Edited September 9, 2016 by godre Quote Share this post Link to post Share on other sites
immo 219 Report post Posted September 9, 2016 @godre: argh, that's a mess I've answered your post. Quote Share this post Link to post Share on other sites