mx_mark Posted February 20, 2006 Report Share Posted February 20, 2006 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 Quote Link to comment Share on other sites More sharing options...
kevin Posted February 20, 2006 Report Share Posted February 20, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.