Re: Fun with IDL 7 [message #60351] |
Sun, 18 May 2008 20:15 |
craig-kletzing
Messages: 2 Registered: May 2008
|
Junior Member |
|
|
On May 16, 10:35 am, Vince Hradil <hrad...@yahoo.com> wrote:
> On May 16, 2:57 am, craig-kletz...@uiowa.edu wrote:
>
>
>
>> I've just upgraded (if that's the correct word) to IDL 7 on Windows
>> and am struggling with some of the changes. I suspect that these are
>> already well known, but I haven't found answers sof far. I have two
>> questions:
>
>> 1) For years, I've written quick little programs that would pop a plot
>> window, and then ask the user if they wanted a ps plot, I would then
>> do the same plot to the postscript device. However with IDL 7, I find
>> that if I pop any window over the plot window (to the screen) it
>> doesn't refresh until the procedure finishes executing. Worse than
>> that, it actually blanks the whole window if you click on it. It seems
>> that while the procedure is actually running, the windows are locked
>> out. As soon as the procedure completes, then the backing store seems
>> to work as usual. Is there any way to get windows to refresh in the
>> while a procedure is still active. This always used to work fine and
>> is only broken in IDL 7.
>
>> 2) If I click on a .pro file, IDL fires up, but the working directory
>> remains the default. I've set the "change directory on open" option,
>> so if I close the file and reopen it, then the directory is the local
>> one as I want it to be. However this is rather cumbersome (but easier
>> than a cd). Any ideas on how to make IDL come up with the working
>> directory set to where I clicked on the file?
>
>> Many thanks for any help!
>
>> Craig
>
> @1 - I seem to recall David Fanning suggesting a "wait" before (or was
> it after) the plot seemed to help.
> @2 - I would LOVE to see a solution for this. In fact, if you leave
> the .pro file open then exit IDL, when you return to IDL, sure enough,
> the .pro file opens... But you're back at the default directory! ARGH
> 8^\
Some progress:
1) The "wait" helps, but it seems a bit inconsistent. Interestingly,
you
can't even kill a plot window - if you try, you get an "Not
responding"
windows message and if you proceed, it kills the whole IDL session.
2) By using the most recently opened files list, the reopen isn't too
much trouble, albeit a rather clunky work around. However, it would be
nice to have more than 3 files on the list. Is there a way to keep a
longer list of recent files?
Craig
|
|
|
Re: Fun with IDL 7 [message #60368 is a reply to message #60351] |
Fri, 16 May 2008 08:35  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On May 16, 2:57 am, craig-kletz...@uiowa.edu wrote:
> I've just upgraded (if that's the correct word) to IDL 7 on Windows
> and am struggling with some of the changes. I suspect that these are
> already well known, but I haven't found answers sof far. I have two
> questions:
>
> 1) For years, I've written quick little programs that would pop a plot
> window, and then ask the user if they wanted a ps plot, I would then
> do the same plot to the postscript device. However with IDL 7, I find
> that if I pop any window over the plot window (to the screen) it
> doesn't refresh until the procedure finishes executing. Worse than
> that, it actually blanks the whole window if you click on it. It seems
> that while the procedure is actually running, the windows are locked
> out. As soon as the procedure completes, then the backing store seems
> to work as usual. Is there any way to get windows to refresh in the
> while a procedure is still active. This always used to work fine and
> is only broken in IDL 7.
>
> 2) If I click on a .pro file, IDL fires up, but the working directory
> remains the default. I've set the "change directory on open" option,
> so if I close the file and reopen it, then the directory is the local
> one as I want it to be. However this is rather cumbersome (but easier
> than a cd). Any ideas on how to make IDL come up with the working
> directory set to where I clicked on the file?
>
> Many thanks for any help!
>
> Craig
@1 - I seem to recall David Fanning suggesting a "wait" before (or was
it after) the plot seemed to help.
@2 - I would LOVE to see a solution for this. In fact, if you leave
the .pro file open then exit IDL, when you return to IDL, sure enough,
the .pro file opens... But you're back at the default directory! ARGH
8^\
|
|
|