Jump to content

Question about Mouse


Recommended Posts

How do i bind my mouse to a specific window?

As i can not control where a window opens, nor do i want to keep that window there every time i want an action done, how do i bind my mouse to a specific window?

In AutoHotkey all I had to do was bring the window into focus and the script will bind itself to focused window. (Mouse cooridnates would be based off of "window/client" cooridnates instead of the whole screen.)

Link to comment
Share on other sites

Hi and Welcome to the forums!

Not sure what you are asking for here. Look at AutoItSetOption/Opt (more specifically MouseCoordMode) if you want Mouse*() funcs to use client coords.

Use ControlClick() if you want to "click" a specific window.

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...