Solo Posted May 9, 2004 Posted May 9, 2004 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.
Valik Posted May 9, 2004 Posted May 9, 2004 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)
Solo Posted May 11, 2004 Author Posted May 11, 2004 Hello Valik. Thanks for the response. I'm runnig Win2k Pro. I will try your suggestion. Thanks.
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