Guest arena Posted April 2, 2004 Posted April 2, 2004 (edited) I need to know the script language for performing the following functions: 1. alt and i simultaneously 2. wait less than a second 3. the + above the enter on the numpad (right side of keyboard) 4. wait less than a second 5. the enter above the shift key 6. wait less than a second 7. the up arrow of the four directional keys (not the numpad) 8. wait less than a second 9. the enter above the shift key 10. wait less than a second 11. esc key so far i think it is suppossed to look like this, but i dont really know what im doing: Send ("!i"); Sleep(0250); Send ("{NUMPADADD}"); (<---- what should i type for the numpad +?) Sleep (0250); Send ("{ENTER}"); sleep(0250); xxxxxxxxxxxxxxxxx (<---- this is the up arrow, completely lost here) sleep(0250); Send ("{ENTER}"); sleep(0250); Send ("{ESCAPE}"); Sleep (0250); EndFunc any help on translating this to autoitv3 language would be greatly appreciated. Edited April 2, 2004 by arena
vickerps Posted April 2, 2004 Posted April 2, 2004 AutoItSetOption ( "SendKeyDelay", 100 ) AutoItSetOption ( "SendKeyDownDelay", 50 ) Send ("{ALTDOWN}{i}{ALTUP}") Send ("{+}") Send ("{ENTER 2}") Send ("{ESCAPE}")
GrahamS Posted April 2, 2004 Posted April 2, 2004 AutoItSetOption ( "SendKeyDelay", 100 ) AutoItSetOption ( "SendKeyDownDelay", 50 ) Send ("{ALTDOWN}{i}{ALTUP}") Send ("{+}") Send ("{ENTER 2}") Send ("{ESCAPE}")Err, I think that it is Send("{NUMPADADD}") to get the plus key on the numeric pad. Send("!i") is fine for Alt+i The {UP} does the up arrow Finally you can put it all in the same send command My modification of the above script is AutoItSetOption ( "SendKeyDelay", 100 ) Send ("!i{NUMPADADD}{ENTER}{UP}{ENTER}{ESCAPE}") GrahamS
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