Table of Contents
The macro-command examples you'll find in this tutorial can be tested by creating a file called customize.xxe
in
(XXE_user_preferences_dir
/addon/XXE_user_preferences_dir
is $HOME/.xxe4/
on Linux and
on Windows) and binding the command to be tested to a keystroke.%APPDATA%
\XMLmind\XMLEditor4\
Example: this customize.xxe
file binds a macro-command named convertToBold
to keystroke F2.
<?xml version='1.0' encoding='ISO-8859-1'?> <configuration xmlns="http://www.xmlmind.com/xmleditor/schema/configuration" xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> <binding> <keyPressed code="F2" /> <command name="convertToBold" /> </binding> <command name="convertToBold"> <macro> <sequence> <command name="convert" parameter="[implicitElement] emphasis" /> <command name="putAttribute" parameter="role bold" /> </sequence> </macro> </command> </configuration>
More information about customizing XMLmind XML Editor in XMLmind XML Editor - Configuration and Deployment.
The examples used in this tutorial are found in
.XXE_install_dir
/doc/commands/tutorial/customize.xxe