Kaine Posted November 30, 2006 Share Posted November 30, 2006 Hi: I have tried to send command "[Right ALT]+P" to Microsoft Virtual PC 2004 in order to pause the program without any success. Only the right ALT key is recognized. This following scripts were tried: send("{RALT}P") send("{RALT P}") send("{RALT}""P") send("!P") send("{RALT}p") Any help is greatly appreciated. Alternatively, could someone tell me how to "pause" the execution of "Virtual PC 2004" with some command from AutoIt instead of Send keystrokes. Thanks very much. Link to comment Share on other sites More sharing options...
herewasplato Posted November 30, 2006 Share Posted November 30, 2006 (edited) From the helpfile under SendN.B. Some programs are very choosy about capital letters and CTRL keys, i.e. "^A" is different to "^a". The first says CTRL+SHIFT+A, the second is CTRL+a. If in doubt, use lowercase!...so, did you try Send("!p")Edit: perhaps it applies to alt plus keys also... Edited November 30, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Kaine Posted November 30, 2006 Author Share Posted November 30, 2006 (edited) From the helpfile under Send...so, did you try Send("!p")Edit: perhaps it applies to alt plus keys also...Yes, I tried send("!p") and it did not work. You're correct in saying that this program is very picky. "Virtual PC 2004" only answers to ALT key on the "Right" and not the ALT key on the left side of the keyboard because that's the shortcut listed on the menu of this program. I wish that Microsoft would have just programmed in the regular ALT instead. Please help with how to send only the "Right ALT + P" combo. Thanks. Edited November 30, 2006 by Kaine Link to comment Share on other sites More sharing options...
Administrators Jon Posted November 30, 2006 Administrators Share Posted November 30, 2006 Try Send("{RALT down}p{RALT up}") Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
NeoFoX Posted November 30, 2006 Share Posted November 30, 2006 Send("{RALT}+p") Neo [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
Administrators Jon Posted November 30, 2006 Administrators Share Posted November 30, 2006 Send("{RALT}+p")NeoThat's says "press and release right alt and then press shift and p" Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
NeoFoX Posted November 30, 2006 Share Posted November 30, 2006 Ohyeah.. a little bit sleepy this morning [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
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