Page 1 of 1

CustomHotkey.ahk

Posted: 22 Oct 2022, 06:07
by zero-plusplus
Translated by DeepL translation

CustomHotkey.ahk is the library that provides a method of defining complex hotkeys by passing string, object or etc..

It can be downloaded from the following link.

https://github.com/zero-plusplus/CustomHotkey.ahk/releases

It includes 19 Actions such as key sending and tooltip display, 10 Combination Actions that switch actions based on user input such as mouse gestures, and 5 Conditions that determine whether a hotkey is enabled or disabled.

These can be combined, or you can define new actions and conditions yourself.

See here for more details.
Also, please read this section carefully as it contains some tricky processes such as temporarily blocking keyboard input to implement some of the features.

It is working well enough for my own use, but I would like to hear from others so that I can meet the needs of more people.

I am not sure how to receive notifications here, so my reply may be delayed.
Issues or Discussions on Github can reply by the next day.

CHANGELOG

Examples
Hot Edge/Corner
N Keystroke and Long Press
Mouse Gesture

In the distant future, due to lack of time, I would like to eventually be able to use the GUI to easily register complex hotkeys even for non-programmers.

Re: CustomHotkey.ahk

Posted: 27 Oct 2022, 04:49
by zero-plusplus
v0.0.2 is now available.

The changes can be found at the link above.

Re: CustomHotkey.ahk

Posted: 30 Oct 2022, 06:23
by zero-plusplus
v0.0.3 is now available.

Fixed some bugs.

Please refer to the above link for detailed changes.

Re: CustomHotkey.ahk

Posted: 02 Nov 2022, 14:30
by sumon
This looks very impressive! Surprised to see no comments.

Re: CustomHotkey.ahk

Posted: 03 Nov 2022, 08:49
by zero-plusplus
Thank you.
I hope everyone will feel free to comment, as feedback is needed to add features and fix bugs.

I will add MousePositionCondition in the next update if there are no urgent bug fixes.

This Condition enables/disables Action depending on the mouse position.
In other words, it supports hot corners/edges.

Re: CustomHotkey.ahk

Posted: 17 Mar 2023, 00:13
by zero-plusplus
CustomHotkey v0.0.4 is now available.
Added MousePositionCondition to support hot edges/corners.

For more information, see the top post or on github.

Re: CustomHotkey.ahk

Posted: 19 Jan 2024, 10:35
by gya
@zero-plusplus

Thank you for "CustomHotkey.ahk" ("GitHub - zero-plus/CustomHotkey.ahk @ https://github.com/zero-plusplus/CustomHotkey.ahk?tab=readme-ov-file#first") and all the effort you put into the presentation and explanations.

It really helped me to understand various things about "AutoHotkey" and moreover it allowed me to easily gather various scripts for Windows startup.

All the best.

PS. The switch from v0.0.3 to v0.0.4 went off without a hitch. Congratulations. :bravo:
:D https://www.deepl.com/fr/translator

Re: CustomHotkey.ahk

Posted: 20 Jan 2024, 03:03
by zero-plusplus
Thank you.

I intentionally included many explanations because I have experienced difficulty in the past due to the lack of explanations for the tool I used.
I was worried that it would be hard to read, but I'm glad it was useful for you.

CustomHotkey is the final goal of my AutoHotkey-related project, and I hope to release an improved version in the future, including GUI support. Perhaps this improved version will be provided as a vscode extension.

However, it is a few years away now because I am spending a lot of time developing vscode-autohotkey-debug, a tool to comfortably develop CustomHotkey, and the language server for AutoHotkey, which is currently under private development.

I hope to provide an environment where even non-programmers can define complex hotkeys and their actions through GUI, and programmers can comfortably develop plug-ins using the above tools.