Page 1 of 1

Zoom to mouse without clicking

Posted: 28 Jan 2022, 10:19
by hemsith14_
Hello

I use a program that allows zooming with + and -.
My problem is that it will only zoom to where you've recently clicked, so it wont zoom to where the mouse is naturally.
I want to use AHK so the program will know where the mouse is and zoom into there by sending + or - and without clicking.

Is it possible?
Thank you

Re: Zoom to mouse without clicking

Posted: 28 Jan 2022, 10:40
by amateur+
If you need to retrieve current mouse coordinates you can get them via MouseGetPos command.

Re: Zoom to mouse without clicking

Posted: 28 Jan 2022, 10:42
by hemsith14_
I know, that's not the problem.