When trying to implement Alias in Hotkeys Editor i discovered that,
Alias section doesn't support saving command by decimal or hexdecimal code
it is supposed to be like [Shortcuts]
try this
alias saved as decimal or hexdecimal not work again in beta 4
i think this happened due to this change
31.01.07 Fixed: Removed execution of internal commands by number in command line, because it was causing a lot of confusion. Use the cm_ commands instead.
I think it is easy to distinguishing between executing command by direct input its code or through the alias!
but Why not combine the two possibilities? that is, if the user enter a command code, first check if there is a file exist using this code as a name if not, execute the internal command. so the priorty is for opening the file.
i guess you're already do this when the user enter a command text but here the priorty is for executing the internal command.
I could make the alias command work again with numbers. Private beta testers may test it already.
if the user enter a command code, first check if there is a file exist using this code
Unfortunately that's not so easy. The function used to open files, ShellExecuteEx, supports not only the execution of programs from several paths, but also all kinds of extensions like launching URLs (http something).
ghisler(Author) wrote:Unfortunately that's not so easy.
Why?
maybe i didn't described it well!
I mean, if a user enter code like 907 and the execution failed, TC popup message says "File not found!", So before you showing this messag, check if this code is for an internal command, if so execute it otherwise show the message as normal.