Cedeq Community Forum

Full Version: Enterpad key with double duty
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can I program a single Enterpad key to work in two different programs.

Here is the example.

Instead of creating two keys for changing text to Times New Roman, one key for Word and another for Thunderbird email. Can you program the different commands on the same key with the key recognizing what program is running when the key is pressed?

Thank you
Yes, you can set a key on the Enterpad to trigger an AutoHotkey script that will recognize what program is running and that will determine the right command to run in order to change the text font. The AHK command "IfWinActive" will be responsible for running the part of the script that corresponds with the active program. You can get all the information about this command here: https://autohotkey.com/docs/commands/WinActive.htm