Zoom to mouse without clicking

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hemsith14_
Posts: 296
Joined: 07 Nov 2020, 08:37

Zoom to mouse without clicking

Post by hemsith14_ » 28 Jan 2022, 10:19

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

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: Zoom to mouse without clicking

Post by amateur+ » 28 Jan 2022, 10:40

If you need to retrieve current mouse coordinates you can get them via MouseGetPos command.
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

hemsith14_
Posts: 296
Joined: 07 Nov 2020, 08:37

Re: Zoom to mouse without clicking

Post by hemsith14_ » 28 Jan 2022, 10:42

I know, that's not the problem.

Post Reply

Return to “Ask for Help (v1)”