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

I need a "Ctrl-F" Script

Status
Not open for further replies.

RainShadows

Programmer
Apr 4, 1999
1
US
I need a vbg or javascript script to simulate the Ctrl-F key press combination
 
hi, have you thought about using the shell.sendkeys?

--------------------
dim shell
set shell=wscript.createobject("wscript.shell")
shell.sendkeys "^F"
--------------------
You may need brackets around "^F" ie. ("^F"). '^' means 'CTRL +'
--------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top