General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion is it possible to track the keypress event on XMetal editor?

  • biswajitsr

    is it possible to track the keypress event on XMetal editor?

    Participants 0
    Replies 1
    Last Activity 12 years, 8 months ago

    is it possible to track the keypress event on XMetal editor?

    Reply

    Derek Read

    Reply to: is it possible to track the keypress event on XMetal editor?

    There is no OnKeyPress event, however, you may assign a particular key combination to a macro so that when the user presses that key combination the macro will run, for example: Ctrl+Alt+F1.

    If you have XMetaL Developer then it is easy to assign a particular shortcut to each macro in your project using the properties window.

    If you are building your MCR files by hand with a text editor of some kind, then the value to set is called “key” inside the element. For an example please see the journalist.mcr file in the Macros folder and look for the “Insert Subsection” macro which in that example is assigned the key combination “Ctrl+Alt+S”.

    Perhaps if you can give us some more information on what you are doing we can try to offer some suggestions.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support