[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: executing a .sav file by double clicking it.
- Subject: Re: executing a .sav file by double clicking it.
- From: werner + celeste <thehorts(at)nb.net>
- Date: Sun, 16 Aug 1998 22:53:17 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Slurp News Feeds
- References: <35D073B6.531C36F4@matthey.com> <MPG.email@example.com>
- Reply-To: thehorts(at)nb.net
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:11870
Thanks to all who responded! I solved my problem using
the suggestion of David Fanning.
David Fanning wrote:
> Werner Hort (firstname.lastname@example.org) writes:
> > how do I create (on a windows platform) a .sav-file that I can
> > by simply
> > double clicking it. E.g. I'd like to avoid starting up idlde. There
> > a few files like
> > that in the demo-directory, but I can't figure out how to do it. I
> > 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
> I put this program at the end of my "widget" program (called
> PROCESS in my example), then typed exactly these commands:
> .Compile PROCESS
> Save, /All, Filename='junk.sav'
> Viola! Click on the file JUNK.SAVE and it works like
> a charm! :-)
> David Fanning, Ph.D.
> Fanning Software Consulting
> E-Mail: email@example.com
> Phone: 970-221-0438, Toll Free Book Orders: 1-888-461-0155
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
fn: werner + celeste
n: ;werner + celeste