Close
Showing results 1 to 10 of 12

Hybrid View

  1. #1

    Default

    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
    �Author of HotkeyNet and Mojo

  2. #2

    Default

    Quote Originally Posted by Freddie View Post
    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
    WOOT!!

    Cool, there is a good solution for my nested If-Cases
    I haven't found this info on hotkeynet.com.
    I don't suffer from Schizophrenia, I enjoy every moment of it !

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •