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

ctrl+F

Status
Not open for further replies.

jkcushman

IS-IT--Management
Sep 20, 2004
1
US
I want to bring up the Find and Replace dialog box in a WordPerfect window that is being tested. Currently I am trying to use the type method to instruct the keyboard to type Ctrl+F. What is the easiest way to do this?

Is there a type micCtrl+F that is similar to the micReturn?

any thoughts?
Thanks
 
You could use Sendkeys as follows:

Code:
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.AppActivate "WordPerfect"

objShell.SendKeys "^{F4}"

Spong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top