[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding .sav files to menu in ENVI
- Subject: Re: Adding .sav files to menu in ENVI
- From: Peter Mason <menakkis(at)my-deja.com>
- Date: Sun, 05 Mar 2000 21:33:01 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Deja.com - Before you buy.
- References: <89maqe$sni$1@nnrp1.deja.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:18793
Chris Jengo <cjengo@my-deja.com> wrote:
> Does anybody know how a .sav file automatically adds itself to the
> menu structure in ENVI?
Hi Chris,
This is undocumented, I believe, but if you poke around just a little
then all shall be revealed.
You got a file called "envi_effort.sav"? Start IDL and give this a
try:
IDL> restore,'\rsi\envi32\save_add\envi_effort.sav'
IDL> help,/rout
...
ENVI_EFFORT_DEFINE_BUTTONS buttons
...
Hmmm.
IDL> envi_effort_define_buttons,b
IDL> help,b,/struc
IDL> print,b
Cheers
Peter Mason
Sent via Deja.com http://www.deja.com/
Before you buy.