Braas Posted July 25, 2010 Share Posted July 25, 2010 Hi I'm currently having some trouble with winMove as it dosen't seem to work with some programs. One of these programs is Firefox. Lets say I wanted to move a firefox window to 0,0: Opt("WinTitleMatchMode", 2) WinMove("Firefox", "", 0, 0) This dosen't seem to work even though I can use the same code for other programs: Opt("WinTitleMatchMode", 2) WinMove("SciTE", "", 0, 0) Can anyone tell me how to fix it or show me an easy way to get around the problem. Right now I'm considering doing a loop where I match pixel until it finds the firefox logo. But I´m sure there must be an easier solution. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 25, 2010 Developers Share Posted July 25, 2010 Works fine for me to move firefox with your first script. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Braas Posted July 25, 2010 Author Share Posted July 25, 2010 I also ran it some time ago without any trouble, but that was on WinXP and now I´m on Win7. What OS are you running? Link to comment Share on other sites More sharing options...
Developers Jos Posted July 25, 2010 Developers Share Posted July 25, 2010 win7 home x64 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Braas Posted July 25, 2010 Author Share Posted July 25, 2010 Found the problem now. Some other hook-proces I was running was apparently preventing me from moving some of my programs. 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