Move mouse cursor to a highlighted button Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Freshman
Posts: 7
Joined: 25 Jan 2021, 21:07

Move mouse cursor to a highlighted button

Post by Freshman » 25 Jan 2021, 21:47

Hi everyone!

I've just joined this forum. I know very little about programming, but I'm willing to learn. Lately I've encountered a problem related to Microsoft OneNote 2016 which I use with a pen display tablet for online teaching. I'm trying to set up a shortcut key to select a specific shape. When I click "alt" + "D" + "S", I get the shapes menu, and can continue navigating within the shapes with the arrow keys. However, in order to select a specific shape, I need to manually move the mouse cursor to the highlighted shape, and hit the left click button. Is there a way to do that using a AHK script? I know nothing about AHK and very little about programming in general, but if you tell me that this feature can be reached with AHK, I'll take the time and study it.

Every comment is highly appreciated!
User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: Move mouse cursor to a highlighted button  Topic is solved

Post by mikeyww » 26 Jan 2021, 01:01

When you find the shape you want, press Space to select it.
Freshman
Posts: 7
Joined: 25 Jan 2021, 21:07

Re: Move mouse cursor to a highlighted button

Post by Freshman » 26 Jan 2021, 03:08

:bravo:
Hey, thanks a lot! I Googled it and didn't find any solution, let alone so elegant!
Post Reply

Return to “Ask for Help (v1)”