• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manage Hotkeys in NinjaScript?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Manage Hotkeys in NinjaScript?

    I would like to be able to do the following for hotkeys in a NinjaScript AddOn:
    • Find all hotkeys and what they are assigned to and their hotkey category
    • Assign/deassign a hotkey
    • Create/populate/destroy a new (non-system) category of hotkeys
    • Assign/deassign hotkeys for existing AddOns
    Are there any examples of these capabilities available in NinjaScript?

    Thanks!

    #2
    Hello jeronymite,

    Currently there is no way to manage the existing hotkeys, there is a feature request for this which I have added your vote for SFT-2669.

    If you wanted to add key controls to something you are doing you can use the PreviewKey events (WPF concept) from the target control for that purpose. You can search the forum for PreviewKeyDown or PreviewKeyUp for some examples, this is also something you can just search for online in contrast to WPF to better understand how to use keyboard events.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks, Jesse. Whilst I am looking for the NinjaScript functionality (thanks for adding my vote to the feature request), it is also desirable to have the ability to assign/deassign hotkeys to existing AddOns in the NT UI. Thanks again!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Fiocco, Today, 05:59 AM
      0 responses
      12 views
      0 likes
      Last Post Fiocco
      by Fiocco
       
      Started by catinabag, Today, 06:09 AM
      0 responses
      6 views
      0 likes
      Last Post catinabag  
      Started by junposlee, Today, 02:59 PM
      0 responses
      1 view
      0 likes
      Last Post junposlee  
      Started by patpat, Yesterday, 11:02 AM
      2 responses
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by jameslee001, Yesterday, 08:09 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X