comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Running startup.pro in IDL 7/Workbench/Windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Running startup.pro in IDL 7/Workbench/Windows [message #67786] Mon, 31 August 2009 08:52
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
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
Re: Running startup.pro in IDL 7/Workbench/Windows [message #67787 is a reply to message #67786] Mon, 31 August 2009 07:55 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Running startup.pro in IDL 7/Workbench/Windows
Next Topic: images taken in different daylight all conatining a color reference

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 19:26:41 PDT 2025

Total time taken to generate the page: 0.48072 seconds