-
Notifications
You must be signed in to change notification settings - Fork 2
QMK.ahk
QMK.ahk
is built entirely under the premise of optimisation and functionality - it helps make a secondary keyboard feel like an extension of the first and eliminates any feelings of clunkyness and weird behaviour.
For this script to function correctly, you'll need either a keyboard with custom firmware, or a keyboard compatible with a HASU USB-USB Converter
- from there you'll need to install custom firmware.
This custom firmware allows us to wrap each keystroke IN another keystroke. For example:
A normal keystroke as seen by AHK is as follows, we'll use the k
key:
-
k Down
followed byk Up
when the key is released.
With this custom firmware, AHK sees the following instead:
-
F24 Down
k Down
followed byk Up
F24 Up
when the key is released.
This allows us to define separate macros/functions through the use of the below code for program specific functions:
#HotIf WinActive("ahk_exe *insert program here*") and getKeyState("F24", "P")
k::func()
or the below code for macros that can be used at all times:
#HotIf getKeyState("F24", "P")
k::func()
The idea to do this was thought up by TaranVH a previous editor for LTT. You can watch his video here
**
The files needed for me to make this happen with MY secondary keyboard are the generous works of JivanYatra and without their kindness and help, I would still be stuck on a tiny little numpad. Huge thank you to them for all of their hard work as well as all the code and custom firmware to make it all happen.
- Jivanyatra's github > https://github.com/jivanyatra
- The repo containing information about this firmware > https://github.com/jivanyatra/planck_ez_glow_macros
While most keys on my keyboard are linked to functions we've defined in other pages, there are some keys that just have specific code. I will not be explaining every single hotkey that isn't linked to a function as most are relatively straight forward.
*note: all hotkey definitions within QMK.ahk
are split off into individual .ahk
files and found in ..\lib\QMK\
Everything after this line will only happen on the secondary keyboard that uses F24, but will work in any program
This macro will read the title of an active Premiere Pro
or After Effects
window and open the folder for the open project in windows explorer. If no project is open, it will open commLocation*
in windows explorer.
*commLocation
is set within the ptf
class
This macro will present two inputboxes asking for the user to provide two 24h timecodes. Once provided, this macro will determine the difference between those two timecodes. It will then display that difference in a tooltip & copy the result to the clipboard.
Keeping Track
Keyboard Shortcut Adjustments
libs & Classes
Editors
Apps
Other lib files
Hotkeys
Timer Scripts
- adobe fullscreen check.ahk
- Alt_menu_acceleration_DISABLER.ahk
- autodismiss error.ahk
- autosave.ahk
- gameCheck.ahk
- Multi-Instance Close
Other Scripts
Other Guides