if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
is it possible to track the keypress event on XMetal editor?
Pages:
1
« previous
next »
Print
Author
Topic: is it possible to track the keypress event on XMetal editor? (Read 886 times)
biswajitsr
Member
Posts: 44
is it possible to track the keypress event on XMetal editor?
«
on:
June 28, 2010, 12:48:09 AM »
is it possible to track the keypress event on XMetal editor?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1552
Re: is it possible to track the keypress event on XMetaL editor?
«
Reply #1 on:
June 28, 2010, 12:46:46 PM »
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 <MACRO> 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.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...