Looking at a script that can auto-fill/generate the keyboard shortcuts based on what I coded for each app. I could do this manually, but it will take a super long time as I have thousands of shortcuts to hundreds of apps.
Anyone did something similar before?
How to make an app-specific keyboard help list?
-
- Posts: 314
- Joined: 13 Dec 2015, 20:48
Re: How to make an app-specific keyboard help list?
Yes, there is even a recent thread about it: an on-screen keyboard. It's quite sophisticated and has variants for different languages. You may be able to adapt the approach.
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=81960
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=81960
Re: How to make an app-specific keyboard help list?
It seems to me that reverberation is rather looking for a tool that translates their hotkeys automatically into a keyboard layout picture like the one above.
For this to happen, this tool would have to understand what each hotkey subroutine is actually meant to do, in order to create meaningful (but short) labels for the layout. That seems only possible with some kind of AI or if there would already be meaningful comments in the script code which just could be parsed, and translated into the picture.
I think there is a AHK-tool called Hotkey Helper which can parse scripts for hotkeys (and hotstrings) and for comments (which need to have a specific format, afaik); it creates only a list with this data, not a picture with a keyboard layout. With such a list as the foundation it could work, I guess.
But without (already existing) comments in the source code which could be parsed, I don't really see how that goal could be achieved (or how that list with key labels could be generated). The OP would have to add these in the source code, I guess, or later in the generated hotkey list.
But perhaps I just misunderstood the request.
PS: I guess, at least found hotkeys could be marked accordingly in the picture, but the labels still would have to be added manually, at some point of the process.
For this to happen, this tool would have to understand what each hotkey subroutine is actually meant to do, in order to create meaningful (but short) labels for the layout. That seems only possible with some kind of AI or if there would already be meaningful comments in the script code which just could be parsed, and translated into the picture.
I think there is a AHK-tool called Hotkey Help
But without (already existing) comments in the source code which could be parsed, I don't really see how that goal could be achieved (or how that list with key labels could be generated). The OP would have to add these in the source code, I guess, or later in the generated hotkey list.
But perhaps I just misunderstood the request.
PS: I guess, at least found hotkeys could be marked accordingly in the picture, but the labels still would have to be added manually, at some point of the process.
Re: How to make an app-specific keyboard help list?
You're right, @gregster
I think that Hotstring Helper works with selected text, but there may be a way to adapt it.
I think that Hotstring Helper works with selected text, but there may be a way to adapt it.
Re: How to make an app-specific keyboard help list?
Actually, I think I was remembering this tool: Hotkey Help - Display Active AHK Hotkeys and Hotstrings by FanaticGuru.
Or a similar one. It has been some time... but basically the user needs to define via comments which informaton gets shown for each hotkey.
Of course, one would still need some basic graphics knowledge to automate the creation of the overlay labels for the keyboard layout.
Or a similar one. It has been some time... but basically the user needs to define via comments which informaton gets shown for each hotkey.
Of course, one would still need some basic graphics knowledge to automate the creation of the overlay labels for the keyboard layout.
Re: How to make an app-specific keyboard help list?
OK! Looks good....
-
- Posts: 314
- Joined: 13 Dec 2015, 20:48
Re: How to make an app-specific keyboard help list?
yeah actually this one will suit the purpose for now.. but the problem is that the helper is not context-specific - i.e. when I trigger hotkey in Chrome, I only want to see the hotkeys related to Chrome.exe and not any other program. Wondering how that can be achieved?gregster wrote: ↑16 Oct 2020, 10:35Actually, I think I was remembering this tool: Hotkey Help - Display Active AHK Hotkeys and Hotstrings by FanaticGuru.
Or a similar one. It has been some time... but basically the user needs to define via comments which informaton gets shown for each hotkey.
Of course, one would still need some basic graphics knowledge to automate the creation of the overlay labels for the keyboard layout.
-
- Posts: 2
- Joined: 06 Apr 2021, 01:03
Re: How to make an app-specific keyboard help list?
Dear Mikeyww:mikeyww wrote: ↑16 Oct 2020, 09:48Yes, there is even a recent thread about it: an on-screen keyboard. It's quite sophisticated and has variants for different languages. You may be able to adapt the approach.
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=81960
The code you linked is nowhere to be found, not in the old or the new forums. Do you happen to have a copy?
I read so many wonderful things about that code in the old forum, I would really like to put my hands on it.
Thanks!
Re: How to make an app-specific keyboard help list?
This sounds really awesome, can you please share the code?
Re: How to make an app-specific keyboard help list?
The link takes you to boiler's links with the scripts for the on-screen keyboard.
Who is online
Users browsing this forum: Auntiejack56 and 111 guests