Batman 0 Posted October 25, 2004 $answer = MsgBox(4,"EasyAccess","This will give easy acces to andy bot.exe") If $answer = 7 then MsgBox(0,"Easy Access", "Batman nina nina nina") Exit EndIf Run("C:\Program Files\Diablo II\bot\Abot.exe") WinWaitActive("C:\Program Files\Diablo II\bot\Abot.exe") AutoItSetOption("SendKeyDelay",400) Send("{TAB}","{ENTER}") Sleep(2000) Meant to run Abot.exe then click tab then enter so it runs with out me clicking This does not work it just runs Abot.exe then sits there... War does not determine who is right, it determines who is left. Share this post Link to post Share on other sites
Nova 0 Posted October 25, 2004 (edited) This is from the helpfileWinWaitActive ( "title", ["text"], [timeout] )Is "C:\Program Files\Diablo II\bot\Abot.exe" the title of the window you are lookng for ?I doubt it Ok heres an example ;if you wanted to wait for notepad to open you would use thisWinWaitActive("Untitled - Notepad")not this WinWaitActive("C:\WINDOWS\notepad.exe")Find the tile of the window Abot.exe opens and wait for that Edited October 25, 2004 by nova Share this post Link to post Share on other sites
Batman 0 Posted October 26, 2004 Thanks for the help, but i found you can't do what i was tying to do =\ War does not determine who is right, it determines who is left. Share this post Link to post Share on other sites