njm0220 Posted August 13, 2012 Posted August 13, 2012 Hello Experts; I am a seasoned programmer, but a total beginner with autoIt. I am trying to write a script like this: While KeyDown(SpaceBar) { Press 1 on numpad; Press 2 on numpad; } Until KeyUp(SpaceBar) off topic does autoIt use global keyboard hooks, or is it using Send cmds. Thanks in advance!
Mechaflash Posted August 13, 2012 Posted August 13, 2012 You'll want to look at IsPressed() and Send() The AutoIt wiki holds a lot of information on syntax that you may want to review. Welcome to AutoIt. Spoiler “Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”
JohnOne Posted August 13, 2012 Posted August 13, 2012 While KeyDown(SpaceBar)ToWhile _IsPressed("20"); your stuffWEnd AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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