On-screen keyboard with macros

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
User avatar
Elermino
Posts: 114
Joined: 29 Nov 2021, 17:43

On-screen keyboard with macros

Post by Elermino » 20 Mar 2023, 17:23

Hello everyone,
I would like to know if is there an autohotkey on-screen keyboard that has programmable actions on its keys depending on the application, like a Macro Pad but directly in the screen.
Thanks! :wave:


User avatar
Elermino
Posts: 114
Joined: 29 Nov 2021, 17:43

Re: On-screen keyboard with macros

Post by Elermino » 20 Mar 2023, 19:15

mikeyww wrote:
20 Mar 2023, 17:39
viewtopic.php?f=82&t=115071
Maybe another?
Thanks!

User avatar
JoeSchmoe
Posts: 129
Joined: 08 Dec 2014, 08:58

Re: On-screen keyboard with macros

Post by JoeSchmoe » 20 Mar 2023, 19:17

If you are just looking for a grid of buttons that you could click on, that is a fairly basic GUI that you could make yourself. Just create a GUI and then add a bunch of buttons to it in a grid. There is some example code here:
https://www.autohotkey.com/docs/v2/lib/GuiControls.htm#Button

Each of the macros would have to check which window was currently active. That's easy to do with the window management functions like WinActive or WinGetTitle. You'd have to code it yourself, though. It's a good learning project.

However, you'll want to avoid double posting. One thread on this topic is enough. Time to spend some time with the documentation.

User avatar
mikeyww
Posts: 26874
Joined: 09 Sep 2014, 18:38

Re: On-screen keyboard with macros

Post by mikeyww » 20 Mar 2023, 19:56

Yes, and possibly the 1,197 search results, too! search.php?keywords=on-screen+keyboard

User avatar
Elermino
Posts: 114
Joined: 29 Nov 2021, 17:43

Re: On-screen keyboard with macros

Post by Elermino » 21 Mar 2023, 16:21

Thanks and sorry for this inconvenience, now that I see it it's simple.
Good day!

User avatar
JoeSchmoe
Posts: 129
Joined: 08 Dec 2014, 08:58

Re: On-screen keyboard with macros

Post by JoeSchmoe » 21 Mar 2023, 16:23

Glad to hear it worked out. I know it can be intimidating before you've done something similar.

Post Reply

Return to “Ask for Help (v2)”