asarnil Posted November 24, 2008 Share Posted November 24, 2008 Hi, I want to write a script that restores the last used explorer window. With explorer i mean the application to browse my harddrives etc. not the internet! I think it should be the easiest and least fragile way to call up these windows by their window class, like this: WinSetState("[CLASS:whatevertheclassnameis]", "", @SW_RESTORE) The question is, what should i replace "whatevertheclassnameis" with. I tried "explorer" and "explorerframe" so far. Thank you! Link to comment Share on other sites More sharing options...
FireFox Posted November 24, 2008 Share Posted November 24, 2008 (edited) Hi, I want to write a script that restores the last used explorer window. With explorer i mean the application to browse my harddrives etc. not the internet! I think it should be the easiest and least fragile way to call up these windows by their window class, like this: WinSetState("[CLASS:whatevertheclassnameis]", "", @SW_RESTORE) The question is, what should i replace "whatevertheclassnameis" with. I tried "explorer" and "explorerframe" so far. Thank you! Use Au3info.exe for get windows classes Edited November 24, 2008 by FireFox Link to comment Share on other sites More sharing options...
asarnil Posted November 24, 2008 Author Share Posted November 24, 2008 (edited) Use Au3info.exe for get windows classesThank You! it worked...for the record: the class is "CabinetWClass" Edited November 24, 2008 by asarnil 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