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!

Simulate a Pause Keypress

Status
Not open for further replies.

zarney

Technical User
Dec 25, 2004
18
0
0
US
Hi,

Is there a way that I can 'press' the pause key in VBS?

Thank you!
 
Have you tried the SendKeys method of the WshShell object ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thank you PHV. Isn't that basically the same as the VB Sendkeys method? I am not sure how to use that to send a 'pause' - seems I can send anything but! It's an elusive key to me :mad:!

 
Perhaps the {Break} ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Yikes, oh my!!! I have no excuse for missing that so have a star.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top