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

capature 2 key strokes

Status
Not open for further replies.

zfang

Programmer
Apr 3, 2002
23
US
Hi:
Can VBscript capature 2 key strokes, like ctrl+A,ctrl+B, etc. I have a html page that has a list of hyper links.
When a user strokes ctrl+A, it will hilight hyper link A, and hits return key, the target wep page displays.

Thanks.

George
 
Try adding an onKeyPress event to the <body> tag and then look into getting the keys pressed. In that, check the event.modifiers property. I'm not totally sure what you will find, but this is a good start. Good luck. ________________________________________
Michael C Flanakin
Indigo Web Systems
michael.flanakin@indigows.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top