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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VKey combinations

Status
Not open for further replies.

macinkilt

Technical User
Apr 7, 2006
5
I am trying to write a script that will send an email through Outlook in response to certain events. I believe that I am almost there, save for the fact that I cannot find a method to transmit the required hotkey (ctrl+enter)
to actually send the email. CTRLENTER is not recognized as a valid sendkey. I have found the Vkeys for both ctrl and enter (0x0D and 0x11) but cannot figure out how to combine them so that they are sent simultaneously. Thanks for the help.
 
Doh!

Sorry, how about:

Code:
sendkey CTRL 0x0D

Looked over what I posted and 0x11 is the Control key, I guess control / control is not what you wanted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top