Re: Running startup.pro in IDL 7/Workbench/Windows [message #67787 is a reply to message #67786] |
Mon, 31 August 2009 07:55  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kenneth P. Bowman writes:
> I run IDL from the command line and use a startup.pro file, primarily to set
> system variables. Because I run on Mac OS/Linux, I use the IDL_STARTUP environment
> variable to set my startup file, which ensures that it is executed automatically
> when IDL starts.
>
> Someone asked me how to use a startup.pro file in IDL 7.1 (Workbench) on Windows,
> and I confess that I don't have a clue. I fired up the Workbench under Mac OS, and
> my startup.pro ran automatically. I assume that is due to my having set the
> IDL_STARTUP environment variable.
>
> I don't see any straightforward way to set a startup.pro file from within the
> Workbench (nothing obvious in Preferences).
>
> Can anyone tell me how to configure a startup.pro file in the Workbench under
> Windows? (I don't have a Windows system to play with.)
From the Workbench (should work for Macs, too), select
Window -> Preferences. Find the *unexpanded* IDL preferences
and click on that. You should now see on the right how to
set the IDL startup file and initial working directory.
The secret is to select the IDL, not one of the options
below it. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|