Jump to content
Sign in to follow this  
Braas

Having trouble with winMove and some programs

Recommended Posts

Braas

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.

Share this post


Link to post
Share on other sites
Braas

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?

Share this post


Link to post
Share on other sites
Braas

Found the problem now. Some other hook-proces I was running was apparently preventing me from moving some of my programs.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.