Jump to content

Having trouble with winMove and some programs


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

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