Previous iTool User's Guide: Working with Macros Next

Importing and Exporting Macros

You can import a macro from a file by selecting File  Import from the Macro Editor, which opens a dialog that lets you select one or more macro files to import. Macro files are IDL SAVE files created by exporting an existing macro.


Note
Macros created in future versions of IDL might contain features not present in the current release and might not behave as designed. Users will be warned if they are importing macros from a future version of IDL.

You can export a macro to a file by selecting File Export from the Macro Editor. The filename that you specify will be used to create an IDL SAVE file containing the macro. The macro to be saved is specified by either the macro folder selected explicitly or the macro folder containing the selected macro item.


Note
If a Run Macro operation is in the macro being exported, you must export the macro to which that operation refers as well, to ensure proper playback behavior of the original exported macro.

  IDL Online Help (March 01, 2006)