Sign in to follow this  
Followers 0
Batman

It wont do the Send Commands Help :X

3 posts in this topic

$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



#2 ·  Posted (edited)

This is from the helpfile

WinWaitActive ( "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 this

WinWaitActive("Untitled - Notepad")

not this

WinWaitActive("C:\WINDOWS\notepad.exe")

Find the tile of the window Abot.exe opens and wait for that :)

Edited by nova

Share this post


Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0