fuzzayboy Posted June 28, 2007 Posted June 28, 2007 So.... i do all kinds of scripts usualy, and i dont usualy have a problem.... but i've been asked to do something really easy today and i cant figure out why it wont execute the func =/ HotKeySet("{F}", "Jump") While 1 Sleep(100) WEnd Func Jump() Send("{w down}") Send("{Space}") Send("{w up}") EndFunc all i want to do, is to press W hold it down, then press Spacebar and release both of them... the func itself should be right... thing is... it wont execute it =/ ( Jump in the hotkeyset is Grey and func Jump is plain black ( in SciTE ) if that helps )
fuzzayboy Posted June 28, 2007 Author Posted June 28, 2007 So.... i do all kinds of scripts usualy, and i dont usualy have a problem.... but i've been asked to do something really easy today and i cant figure out why it wont execute the func =/ HotKeySet("{F}", "Jump") While 1 Sleep(100) WEnd Func Jump() Send("{w down}") Send("{Space}") Send("{w up}") EndFunc all i want to do, is to press W hold it down, then press Spacebar and release both of them... the func itself should be right... thing is... it wont execute it =/ ( Jump in the hotkeyset is Grey and func Jump is plain black ( in SciTE ) if that helps ) Wow... it was a simple mistake... lol @ HotKeySet("{F}", "Jump") no such thing as {F} =) close this topic please I feel like an idiot >< im gonna go to bed now haha
Richard Robertson Posted June 28, 2007 Posted June 28, 2007 Next time you realize something before anyone replies, you can delete your topic. I was hoping you would realize the problem before I got down here to reply. {F} is, yes, a pretty simple mistake.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now