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

Home » Public Forums » archive » Re: executing a .sav file by double clicking it.
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: executing a .sav file by double clicking it. [message #12629 is a reply to message #12574] Tue, 11 August 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Werner Hort (hortwh@matthey.com) writes:


> how do I create (on a windows platform) a .sav-file that I can execute
> by simply
> double clicking it. E.g. I'd like to avoid starting up idlde. There are
> a few files like
> that in the demo-directory, but I can't figure out how to do it. I have
> tried the
> following:
>
> .compile widget
> resolve_all
> save,/routines,filename= 'wid.sav'
>
> This creates the desired file, however, after double clicking on it
> idlrt starts up and
> then exits again. What do I have to do to get my widget to start up?

You need the program that runs the "widget" program above.
Something like this:

PRO JUNK
widget
END

I put this program at the end of my "widget" program (called
PROCESS in my example), then typed exactly these commands:

.Compile PROCESS
Resolve_All
Save, /All, Filename='junk.sav'

Viola! Click on the file JUNK.SAVE and it works like
a charm! :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Labelling Highs/Lows in contour
Next Topic: [IDL/ENVI] Extracting points from *.roi files

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

Current Time: Wed Oct 08 18:55:46 PDT 2025

Total time taken to generate the page: 0.00369 seconds