Running IDL or ENVI under Macintosh
You can run IDL or ENVI in one of two ways:
- From an Applescript application
- From a UNIX X-Windows prompt
You can also enable accelerators that use the Alt key to work with the Macintosh Apple key (also known as the Command key). For details, see the topic "Enabling Alt Key Accelerators on Macintosh" in IDL Help.
Running IDL or ENVI from Applescript
To run IDL or ENVI, click on one of the Applescript applications in the ITT_DIR/idlxx directory. Table 4-1 describes the complete list of applications:
Table 4-1: Applescript Applications
Table 4-1: Applescript Applications
|
Icon Name
|
File Name
|
Description
|
|
|
Starts command-line ENVI + IDL.
|
|
|
Starts an ENVI session.
|
|
|
Starts ENVI Zoom.
|
|
|
Starts ENVI Help.
|
|
|
Starts command-line IDL.
|
|
|
Starts an IDL development environment session.
|
|
|
Starts an IDL Virtual Machine session.
|
|
|
Starts the IDL Demo application.
|
|
|
Starts IDL Help.
|
|
|
Starts the license wizard.
|
|
|
Starts the DICOM Network Services.
|
Manually Creating an Alias to an IDL or ENVI Applescript
To manually create a Macintosh alias to an IDL or ENVI Applescript, on your desktop or other convenient location:
- Open a Finder window, and navigate to the
ITT_DIR/idlxx directory of your IDL or ENVI installation.
- Identify the Applescript icon for which you would like to create an alias, for example,
idlde.
- While holding the Option and Command keys on your keyboard, click and drag the target icon to your desktop. Copying or moving the Applescript to another location (rather than creating a Macintosh alias) will cause the Applescript to fail.
Running IDL or ENVI from the Command Line
This section covers how to run IDL or ENVI from the X-Windows prompt on Mac OS X.
- Launch X11 from the
Applications/Utilities folder. X11 displays a UNIX X-Windows command line in an OS X window.
- You can now start IDL or ENVI or any of the following executables by entering one of the following commands at the command line:
All available commands are listed in Table 4-2.
Table 4-2: Startup Commands
Table 4-2: Startup Commands
|
Command
|
Description
|
|
Starts command-line ENVI+IDL in an Xterminal window.
|
|
Starts an ENVI session.
|
|
Starts an ENVI Zoom session.
|
|
Starts ENVI Help.
|
|
Starts IDL in command-line access mode.
|
|
Starts IDL Development Environment.
|
|
Starts IDL Virtual Machine.
|
|
Starts the runtime version of IDL.
|
|
Starts the IDL Demo Applications. You can also type demo at the IDL prompt after you have started IDL.
|
|
Starts IDL and ION Help.
|
Running the IDL Virtual Machine under Macintosh
You can run the IDL Virtual Machine from Applescript or from the command line.
Running from Applescript
To start the IDL Virtual Machine, double-click on idlvm.app in the ITT_DIR/idlxx directory.
Running from the Command Line
To run a *.sav file in the IDL Virtual Machine:
- Start X11.
- Enter
idl -vm=<path><filename>.sav at the X11 Terminal prompt, where <path> is the path to the *.sav file, and <filename> is the name of the *.sav file. The IDL Virtual Machine window is displayed.
- Click anywhere on the IDL Virtual Machine window to close the window and to run the
*.sav file.
To launch the IDL Virtual Machine and select a *.sav file to open:
- Start X11.
- Enter
idl -vm at the X11 Terminal prompt. The IDL Virtual Machine window is displayed.
- Click anywhere on the IDL Virtual Machine window to display the file selection menu.
- Open a
*.sav file from the file selection menu.
Running IDL Runtime Applications under Macintosh
To run a *.sav file in the runtime version of IDL:
- Start X11.
- Enter
idl -rt=<path><filename>.sav at the X11 Terminal prompt, where <path> is the path to the *.sav file, and <filename> is the name of the *.sav file.
- The application contained in the
*.sav file is run in the runtime version of IDL.
When a *.sav file is run with the idl -rt command on a machine without an IDL license, it will run in the IDL Virtual Machine.
IDL Online Help (March 06, 2007)