Batman Posted October 25, 2004 Share 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. Link to comment Share on other sites More sharing options...
Nova Posted October 25, 2004 Share 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 Link to comment Share on other sites More sharing options...
Batman Posted October 26, 2004 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now