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!

How 2 open a specific "Find Files" window using the keyboard

Status
Not open for further replies.

plagoon

Technical User
Mar 17, 2005
9
US
(continuation of thread616-1026985 and thread616-1242759, for Win2k's "Find: Files and folders" window)

I've been trying to figure out how to get to a SPECIFIC OPEN "Search Results" window (windows explorer window) using the keyboard (NOT the mouse) in Win2k and WinXP.

I'd like to do it directly from Windows.

In previous threads I described how to do it in WordPerfect in Win2k, but I've moved on to MS Word in WinXP.

Here's how to do it IF there's only one "Search Results" window open in WordXP/2003 using VB6:

Sub z_OsSwitch2WinExplorer()
vcount = 0: v2 = 0
For Each v1 In Tasks
If v1.Name = "Search Results" Then vcount = vcount + 1
Next v1
If vcount = 1 Then Tasks("Search Results").Activate _
Else: Beep: MsgBox "No unique 'Search Results' window found!": Tasks("Search Results").Activate
End Sub

I don't know how to do it directly from Windows, maybe there's a way using Wscript?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top