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

Home » Public Forums » archive » Re: Best way to reset the session?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Best way to reset the session? [message #34109 is a reply to message #34097] Sun, 16 February 2003 18:16 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
>
> I've bound a macro to run the startup script to a handy key. I use it
> immediately after .reset_session. (I tried a script that would reset the
> session *then* run the startup script. Not surprisingly, this didn't work as
> executive commands cannot be called from scripts.)
>

If you use an '@' file, I think you can get it to work:

I have a file, 'myreset.pro' that contains

; myreset.pro
; execute this by typing
; @myreset.pro
;
.reset_session
@idl.startup


And then I can do a full reset by typing

@myreset

Is this what you are after?

Dick French
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: UNIQ without SORT
Next Topic: WHERE approaching Flatland

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

Current Time: Fri Oct 10 04:03:40 PDT 2025

Total time taken to generate the page: 0.88099 seconds