General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › is it possible to track the keypress event on XMetal editor?
-
biswajitsr June 28, 2010 at 6:48 am
is it possible to track the keypress event on XMetal editor?
June 28, 2010 at 6:48 amParticipants 0Replies 1Last Activity 12 years, 8 months agois it possible to track the keypress event on XMetal editor?
Derek Read June 28, 2010 at 6:46 pm
Reply to: is it possible to track the keypress event on XMetal editor?
June 28, 2010 at 6:46 pmThere 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.
-
AuthorPosts
- You must be logged in to reply to this topic.