Jump to content

It wont do the Send Commands Help :X


Batman
 Share

Recommended Posts

$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

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...