Jump to content

Recommended Posts

Posted

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!

Posted (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 by FireFox
Posted (edited)

Use Au3info.exe for get windows classes

Thank You! it worked...

for the record: the class is "CabinetWClass"

Edited by asarnil

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...