Jump to content
Macro Express Forums

Windows Explorer


mx_mark

Recommended Posts

Is it possible to check to see if windows explorer already has the foler open.

 

ie. lets say explorer has c:\test open already

 

i want to check to see if its open,

if yes, activate window.

if no, launch activate explorer to c:\test.

 

right now my macro keeps opening c:\test, everytime....so I end up with many explorers running in the same folder..

 

can this be done?

 

thanks

mark

Link to comment
Share on other sites

You might want to try something like:

If Not Window Title "c:\Program Files\Macro Express3" running
 Open Folder in Explorer: c:\Program Files\Macro Express3
Else
 If Not Program Name "c:\Program Files\Macro Express3" on top
   Activate Window: "c:\Program Files\Macro Express3"
 End If
End If

If I remember correctly, what is displayed in the titlebar of Windows Explorer varies somewhat between the different versions of Windows. And there is an option within Explorer that may affect this. I have the option 'Display the Full Path in the Titlebar' enabled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...