Hello, Is it posible to move the mouse to a specific coordinate in a inactive window?, I've made this so far, but it doesn't work
DetectHiddenWindows, on
Settitlematchmode 2
target=XXX ahk_class ToT
f1::
{
MouseMove, 622, 354, %target%,,,, NA
}
return
MouseMove Minimized/Inactive window
Re: MouseMove Minimized/Inactive window
Use WinGetPos to find the location of the window, then you'll know where 0,0 of that window is and you can add whatever offset you want from there.
Re: MouseMove Minimized/Inactive window
I've used window spy for that, the location isn't a problem, im looking for something like controlclick.boiler wrote:Use WinGetPos to find the location of the window, then you'll know where 0,0 of that window is and you can add whatever offset you want from there.
Re: MouseMove Minimized/Inactive window
Well, making up a combination of ControlClick and MouseMove won't work. What are you actually looking to do? What I described accomplishes moving the mouse to that location. If it's because you need to hover the mouse at that location and have that app recognize it even when it's inactive, I don't think there's anything you can do.
Re: MouseMove Minimized/Inactive window
I want to buff my character in a game without changing window, for that I need to have the cleric in another window, the only way to buff it's clicking over the character and sending the skill.boiler wrote:Well, making up a combination of ControlClick and MouseMove won't work. What are you actually looking to do? What I described accomplishes moving the mouse to that location. If it's because you need to hover the mouse at that location and have that app recognize it even when it's inactive, I don't think there's anything you can do.
Re: MouseMove Minimized/Inactive window
Clicking is different. ControlClick is a possibility. It doesn't work on all windows, but that's your best bet.
Who is online
Users browsing this forum: mapcarter, Marium0505, Rohwedder and 364 guests