Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendvkey + ALT-TAB

Status
Not open for further replies.

VLG711

Technical User
May 30, 2001
95
0
0
US
Hi all
I'm trying to use the sendvkey command. I woulr like to have ALT-Tab Transmitted to windows and then an ALT-A. Am I supposed to combine the two hex values for each key? And if so How should i accomplish that?

Thanks in advance
VLG711
 
sendvkey 0x409 will send the Tab key, while sendvkey 0x441 sends the Alt-A. If you look at the helpfile for sendvkey, you'll see that the 0x4 indicates to send the Alt key with the keystroke. I knew off the top of my head that 09 is the hex value for Tab, but you can get it from the Virtual Key Codes Table topic in the help file. The hex for A is 41, there's an ASCII table in the ASPECT help file if you ever need to look those values up.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top