Jump to content

Recommended Posts

Posted

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.

Posted (edited)

From the helpfile under Send

N.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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted (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 by Kaine

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...