Solo Posted May 9, 2004 Share 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. Link to comment Share on other sites More sharing options...
Valik Posted May 9, 2004 Share 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) Link to comment Share on other sites More sharing options...
Solo Posted May 11, 2004 Author Share Posted May 11, 2004 Hello Valik. Thanks for the response. I'm runnig Win2k Pro. I will try your suggestion. Thanks. 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