Π‘alling the context menu from the keyboard

e13740e
2025-10-05
2025-10-09
  • e13740e - 2025-10-05

    Hello.

    I have a question for you, perhaps you have an answer to it.

    Regarding calling the Context menu from the keyboard in Devices, specifically calling the context menu window from the keyboard via an assigned combination.

    Goal: to have the ability to navigationally add internal Objects (Methods, Properties) to Function Blocks from the keyboard without using the mouse.

    The Codesys environment interface does not allow Windows access to this via Shift+F10. Externally (outside the Codesys environment), the hotkey call for the context menu (Shift+F10) from the keyboard works in various environments, but at the same time, in Codesys it does not (it doesn't work).

    I have already tried various options on my own to achieve this (but unsuccessfully):
    Tools\Customize\Keyboard\Objects (the set combination does not give the desired result)
    Tools\Customize\Keyboard\Objects... (the set combination is extremely useful as it provides access to adding objects directly to Devices but does not provide the ability to add an internal object (Method/Property) to a Function Block).

    Thank you in advance for your help!!!

    P.S. I have already started trying to implement a script-based solution to call the context menu via AutoHotkey - by relocating the mouse cursor to the area of the navigational selection with a subsequent call of the context menu on it and relocating the mouse cursor back to its initial position.

    And in order not to "reinvent the wheel," I am writing this request to you!!!

     
  • e13740e - 2025-10-09

    Hello, the request is no longer relevant.

    Thank you.

    Working with the Main Menu bar via the Alt key is the most effective method.
    It has absolutely everything there.
    Calling the context menu via the keyboard is not necessary.

     

Log in to post a comment.