Sign in to follow this  
Followers 0
Solo

Resize Windows Explorer

3 posts in this topic

I am new to AutoIt. I spent a little time giving it a test spin. I am able to move and resize Notepad, but for the life of me, I cannot do the same with Windows Explorer. Anyone know how to write a script to move and resize Windows Explorer? Any help would be most appreciated.

Share this post


Link to post
Share on other sites



Since the title can be different, here is something generic that will move a random open explorer window (It's really not random, but I don't feel like explaining how it picks the window...)

It uses the classname for Explorer (On Windows XP at least...) to move it.

Opt("WinTitleMatchMode", 4); Can use classname=
$szTitle = "classname=CabinetWClass"

WinMove($szTitle, "", 0, 0)

Share this post


Link to post
Share on other sites

Hello Valik. Thanks for the response. I'm runnig Win2k Pro. I will try your suggestion.

Thanks.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0