Jump to content

Recommended Posts

Posted

Sigh it doesn't work in the game

How doesn't it work?

Does it not do anything at all inside the game?

Do you need the keypresses to last a particular length of time or something?

It might be a good idea to use WinActivate

Posted

How doesn't it work?

Does it not do anything at all inside the game?

Do you need the keypresses to last a particular length of time or something?

It might be a good idea to use WinActivate

Oh..yea

How to use winactivate?

Posted

Oh..yea

How to use winactivate?

Type WinActivate into your ScitE editor, highlight it, and press F1 <_<

^^ the help file included with AutoIt will answer all your questions a lot quicker than the forums!

Just make sure you put it on top of your other code...

Posted

Type WinActivate into your ScitE editor, highlight it, and press F1 <_<

^^ the help file included with AutoIt will answer all your questions a lot quicker than the forums!

Just make sure you put it on top of your other code...

Um..

WinActivate("The game")

Opt("SendKeyDelay", 100)

While 1

For $i = 1 To 20

Send("{3}")

Next

Send("{6}")

Sleep(100)

WEnd

Like this? Somehow it still do nothing in the game

Posted

That works just fine for me in notepad... it types out loads of 3's, then a 6, then 3's....

How are you running your script?

Try compiling it to a .exe, and then double click the .exe to start the program

What game is it, and what are you trying to do exactly?

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
×
×
  • Create New...