Jump to content

Recommended Posts

Posted

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.

Posted

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?

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...