How can I launch an IDL application by double-clicking an icon?
David Fanning has provided instructions for Creating a Run-Time IDL Application for Windows NT. The following AppleScript provided by Olof Hellman will provide similar capabilities for Macintosh: set inputFile to path to (choose file) tell application “IDL” do script ” ignoredResult = anyIDLProcedure(inputFile ) ” end tell The following portion of a UNIX shell script which would be referenced by the IDL_STARTUP environment variable could be used similarly: ; set a variable to be checked momentarily status = ” ; check if an environment variable is set for our application (optional) IF (GetEnv(‘IDLBIN’) EQ ”) THEN $ status = Dialog_Message(‘IDLBIN not set.