Statistics
| Revision:

## root / tmp / org.txm.practically.rcp / doc / macroManage.html @ 486

 1   

Creating new macros

 Click the New button to create a new macro from scratch.  

Deleting Macros

 Select one or more macros to delete and click the delete button. Macros that are mapped to keystrokes will fail to delete, as will macro contributed by plug-ins. To delete a macro mapped to a key, you must first remove the key binding.  

Editing Macros

 Click the Edit button to edit an existing macro. Macros contributed from plug-ins cannot be edited.  

Copying Macros

 To copy one or more macros, select them and click the Copy button. Each macro will be copied and added to the list with a new name. This is useful if you need another similar command, or if you want to see the contents of a macro contributed from a plug-in.  

Sharing macros

 Click the Export or Import buttons to export or import macros. Macros exported to a file can be imported via the import dialog into another eclipse (with the Practically Macro plugins installed, as well as any required plugins/commands). Macros with ids that already exist in the current Eclipse will be skipped (i.e. they will not replace the current command with that ID). Also, from the export dialog you can copy the XML from the text box and put that directly into a plugin.xml definition with the following extension point:  
<extension point="PracticallyMacro.defineMacro"> 
      include the text from the export page here 
   </extension>

 When exporting to a file, you can export one macro or a set of macros to the same file. If a macro uses other macros you have defined, you should export them all together.