Guest Azh321 Posted July 26, 2005 Posted July 26, 2005 Ive been looking around but havnt seen anything, how would I do something like this: if(key(arrow_up) == 1) { bleh } ? All I wanna do is loop some if statements waiting for keypresses then do something, how would I do that
therks Posted July 26, 2005 Posted July 26, 2005 Have a look at the IsPressed UDF linked in my sig. My AutoIt Stuff | My Github
seandisanti Posted July 27, 2005 Posted July 27, 2005 Have a look at the IsPressed UDF linked in my sig.<{POST_SNAPBACK}>HotKeySet ( "key" [, "function"] ) may be easier...
Josbe Posted July 27, 2005 Posted July 27, 2005 Without spirit to offend, (neither sarcasm), but, this question would be fine within the FAQ. Cause, I have seen several times similar questions about: "How detect keypresses"Just MHO. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
seandisanti Posted July 27, 2005 Posted July 27, 2005 Without spirit to offend, (neither sarcasm), but, this question would be fine within the FAQ. Cause, I have seen several times similar questions about: "How detect keypresses"Just MHO.<{POST_SNAPBACK}>slightly less worried about offending (the people asking the same question, not you Josbe), if they don't check the forum or the help file before asking, i don't think they'd read the faq first either... but that's just my opinion...
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