Jump to content
Sign in to follow this  
omek

Help With Simple Script Please

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

Share this post


Link to post
Share on other sites

Hi.

send("a{down}")oÝ÷ Ù©ÝZºÚ"µÍÙ[
    ][ÝÞØHÝÛI][ÝÊ

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

you guys realize that doing this:

send("a{down}")
    send("s{down}")
    send("d{down}")
    send("f{down}")

actually sends the letter then pushes the down arrow key? i don't think thats what the OP wants.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...