Jump to content

Help With Simple Script Please


omek
 Share

Recommended Posts

$i=0

do

$i=$i+1

Send("{a down}")

Send("{s down}")

Send("{d down}")

Send("{f down}")

until $i=10000

this is the script, it need it spam all those buttons fast as it can.

in windows/notebad it works fine and spams them over and over. but when i make the game the main window (tryed full screen and windowed mode) it will press them all once. but not again.

am i missing something? im very new to this and any help or advice would be great!

thanks again oMek

Link to comment
Share on other sites

Hello

You could also try this:

HotKeySet("{ESC}", "quit")  ; press ESC to stop the script

While 1
    SendKeepActive("Title") ; insert the title of your window in here
    send("{a down}")
    send("{s down}")
    send("{d down}")
    send("{f down}")    
WEnd

Func quit()
    Exit 0
EndFunc

Regards

Edited by newbiescripter
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...