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 #12574] Sun, 16 August 1998 00:00 Go to previous message
werner + celeste is currently offline  werner + celeste
Messages: 1
Registered: August 1998
Junior Member
Thanks to all who responded! I solved my problem using
the suggestion of David Fanning.

-Thanks again

David Fanning wrote:

> 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/
  • Attachment: vcard.vcf
    (Size: 0.18KB, Downloaded 92 times)
[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 17:00:08 PDT 2025

Total time taken to generate the page: 0.00402 seconds