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

Home » Public Forums » archive » Re: Create iTool save file programmatically
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Create iTool save file programmatically [message #57166] Tue, 04 December 2007 13:02
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
You are very close. I think you just want to use the "Save" operation
instead of "Save As". "Save As" will always prompt for a filename. So
your code would look like:

it = itgetcurrent(TOOL=oTool)
op = oTool->GetByIdentifier(oTool->GetFullIdentifier()+'/OPERATIONS/
FILE/SAVE')
op->SetProperty, filename='c:/test.isv', show_execution_ui=0
void = oTool->DoAction(op->GetFullIdentifier())

-Chris
ITTVIS
Re: Create iTool save file programmatically [message #57169 is a reply to message #57166] Tue, 04 December 2007 12:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman writes:

> BTW, I am running IDL 6.4. Is the iTool documentation any better in 7.0?

You are just trying to get us riled up, aren't you. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TNMIN limits
Next Topic: Re: object programming question

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

Current Time: Thu Oct 09 22:16:39 PDT 2025

Total time taken to generate the page: 0.08393 seconds