Skip to content

Add shortcut by keycode #36

Closed
Closed

Description

@OwnageIsMagic

For arrows, numpad keys, etc.

Activity

  1. dail8859 commented on Nov 6, 2016

    @dail8859
    Owner

    So you mean being able to specify something like:

    • "Ctrl+Alt+Up"
    • "Ctrl+Alt+Num1"
  2. dail8859 commented on Nov 9, 2016

    @dail8859
    Owner

    Digging into this looks like you can not register a shortcut with the Numpad. It shows up correctly in the menu but it never actually gets triggered when using it in Notepad++. This appears to be a bug (or maybe it is intentional) with Notepad++, but adding several of the other keycodes shouldn't be a problem.

  3. OwnageIsMagic commented on Nov 10, 2016

    @OwnageIsMagic
    ContributorAuthor

    image
    For me it says error in parsing
    btw I can bind numpad for macros
    image
    maybe override AddShortcut like AddShortcut (char modificatorBitMask, uint keyCode) , it will help if I want add non standart key (some media keys for example)?

  4. dail8859 commented on Nov 10, 2016

    @dail8859
    Owner

    For me it says error in parsing

    It's not currently set up to handle anything other than A-Z, 0-9, and F1-F12 so it definitely won't work for you.

    btw I can bind numpad for macros

    Yeah but for some reason Notepad++ is treating plugin commands differently. It shows to bind in the menu but actually pressing the shortcut doesn't work.

    maybe override AddShortcut

    It's possible but that doesn't mean it will actually work (like the case of Numpad keys). Since I really don't have a good way of testing it, and personally don't have a need for it I probably won't be working on this myself but would accept a good PR from someone adding the functionality.

  5. dail8859 commented on Nov 11, 2016

    @dail8859
    Owner

    Considering this closed for now. I've added these additional keys:

    • ;
    • /
    • ~
    • [
    • \
    • ]
    • '
    • ,
    • -
    • .
    • =
    • up
    • down
    • left
    • right
    • space
    • pageup
    • pagedown
    • backspace
    • delete
    • escape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions