Cedeq Community Forum
Enterpad key with double duty - Printable Version

+- Cedeq Community Forum (https://forum.cedeq.com)
+-- Forum: General (https://forum.cedeq.com/forumdisplay.php?fid=1)
+--- Forum: The Enterpad corner (https://forum.cedeq.com/forumdisplay.php?fid=3)
+--- Thread: Enterpad key with double duty (/showthread.php?tid=58)



Enterpad key with double duty - Ouisie24 - 06-07-2018

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


RE: Enterpad key with double duty - denilama - 06-07-2018

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