Katarosky Posted January 31, 2009 Share Posted January 31, 2009 What is the way to get current active windows explorer address. Link to comment Share on other sites More sharing options...
Skruge Posted January 31, 2009 Share Posted January 31, 2009 Welcome to the forums. This works in XP by reading the Address bar. (Could be different in another OS) The bar always exists and doesn't need to be visible. MsgBox(0, "Explorer Path", ControlGetText('[CLASS:ExploreWClass]','','Edit1')) [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
Katarosky Posted January 31, 2009 Author Share Posted January 31, 2009 (edited) Thanks... When script bellow runWhile 1 MsgBox(0, "Explorer Path", ControlGetText('[CLASS:ExploreWClass]','','Edit1')) Sleep(2000) WEndThen...How to get adress "F:\Music" Edited January 31, 2009 by Katarosky Link to comment Share on other sites More sharing options...
Katarosky Posted January 31, 2009 Author Share Posted January 31, 2009 Windows XP: replace CLASS:ExploreWClass with CabinetWClass --->It worked. Thanks alot!While 1 MsgBox(0, "Explorer Path", ControlGetText('[CLASS:ExploreWClass]','','Edit1')) Sleep(2000) WEnd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now