Quote Originally Posted by papounet View Post
1. you state that there is a restriction regarding if-else-endif not being allowed in command. Using DoHotKey, I was able to call an if-then-else construct from a command.
I am not suggesting you change but you may want to have the work-around documented. I found the ability to execute if-then-else from within an autoexec command worthwhile
This is a well known workaround. Many people do this, and I've been recommending it for a long time. Thanks for suggesting that it should be documented.. I just added it to five or six pages on the website.

Here's a useful, related trick. Both the operating system and HotkeyNet recognize dozens of keys that don't exist on Western keyboards. People can use these keys as triggers when they define hotkeys that will be used as subroutines with DoHotkey. That way they don't "lose" any real key combinations that they might want to press with their fingers. Here are some keys that can be used this way. If people define some of these "non-existent" keys as modfiers, they can make millions of hotkey triggers. (Triggers can contain up to sixteen modifiers.)

Code:
OemAX
Oem102
IcoHelp
Ico00
ProcessKey
IcoClear
Packet
OemReset
OemJump
OemPa1
OemPa2
OemPa3
OemWsCtrl
OemCuSel
OemFinish
OemCopy
OemAuto
OemEnlw
OemBackTab
Attn
CrSel
ExSel
EREOF