Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: Running startup.pro in IDL 7/Workbench/Windows
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.")
In article <MPG.2505923c133a4cf098a769@news.giganews.com>, David Fanning <news@dfanning.com> wrote: > 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 Sure enough, there it is. Not obvious, I must say. Thanks, David. Ken