|
IDL Interface Guide: The IDL Development Environment |
|
The following options are available in the Macros menu.
|
Menu Item
|
Description
|
|---|---|
|
Edit...
|
Select this item to access the Edit Macros dialog. Macros which have already been defined are listed in the Macros: field. To edit a macro, click on the macro to access its characteristics and click OK when your adjustments are complete.
To add a macro, click Add..., which will access the Add Macro dialog. Enter the name of the new macro in the given field and click OK. Enter the IDL command to be executed by the new macro in the IDL Command: field. Enter the menu item name, the full path to the toolbar bitmap file, the tooltip text, and the status bar text in the appropriate fields. Select the accelerator by specifying the key in the Key: field and then optionally clicking on any combination of Ctrl, Alt and Shift.
Note - Bitmap files for toolbar buttons must be 16 pixels by 16 pixels, and must contain 256 colors or fewer.
To remove a macro, click Remove. To change the position of a macro in the Macro menu and on the Macro Toolbar, click on the macro to highlight it and click on either Move Up or Move Down.
|
|
Import...
|
Microsoft Windows Only
Use this menu selection to display the Import Macros dialog box. Use this dialog to select the previous IDL installation from which you want macros to be imported.
|
|
Print Var (Windows)
Print Variable (Motif)
|
Select this option to print the selected variable. Selecting this item is the same as entering
PRINT, x at the IDL Command Line, where x is the selected variable.
|
|
Help On Var (Windows)
Help On Variable (Motif)
|
Select this option to list attributes of the selected variable. Selecting this item is the same as entering
HELP, x, /STRUCTURE at the IDL Command Line, where x is the selected variable.
|
|
Import Image
|
Select this option to import an image file into IDL. For more information, see "Using Macros to Import Image Files" on page 167.
|
|
Import ASCII
|
Select this option to import an ASCII file into IDL. For more information, see "Using Macros to Import ASCII Files" (Chapter 6, Using IDL).
|
|
Import Binary
|
Select this option to import a binary file into IDL. For more information, see "Using Macros to Import Binary Files" (Chapter 6, Using IDL).
|
|
Import HDF
|
Select this option to import an HDF file into IDL. For more information, see "Using Macros to Import HDF Files" (Chapter 6, Using IDL).
|
|
Demo
|
Select this option to access IDL's Demo application.
|
|
Export Bridge Assistant
|
Select this option to build a Java or COM object from an IDL object. For more information, see Using the Export Bridge Assistant.
|
IDL Online Help (March 06, 2007)