Jump to content
Sign in to follow this  
Silverbird

Cant get my flag working

Recommended Posts

Silverbird

I jumped on here to ask what may be te simplest question ever but...

im having trouble getting my first script to work

While 1 ;start of loop

Opt("SendKeyDelay",1000)

Send("^{NUMPAD5}^{NUMPAD4}^{NUMPAD4}^{NUMPAD5}^{NUMPAD6}^{NUMPAD6}" [, flag] )

Wend ;end of loop

its just a basic loop that i want to work with mousekeys so i can move my mouse in a repeated loop, but in order for it to work i need to set the flag so the keys are raw...

i diddn't have any trouble finding the perimeters and setting 'flag=1' but whenever i try testing the script i get an error message for "missing seperator after keyword"

i've messed with it before and got it typing numbers before inserting the flag...so im guessing the problem is with "[, flag]"?

idk lol, to be honest i just copy-pasted most of this off the tutorials, its a miracle it diddnt blow up my computer D=

Share this post


Link to post
Share on other sites
Silverbird

ohhh lol i see now >.>

anyways, it diddn't work anyways, drat =S

diddnt think it would be that simple

anyways, the extremely low speed was purposeful, as i was going to edit it

later on to perfectly match what it would've been used for =P

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  

×