[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding .sav files to menu in ENVI



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.