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

Home » Public Forums » archive » Creating and saving an iTool without displaying 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
Creating and saving an iTool without displaying it [message #50066] Thu, 31 August 2006 12:09
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

I want to programmatically create an iTool and save it without user
interaction. I could manage to do that (see below), but is it possible
without having the tool pop up on the screen at all?

IDL> iPlot,findgen(10)
IDL> idTool=itgetcurrent(tool=oTool)
IDL> idSave=oTool->findIdentifiers('*save',/operations,count=count) &
print, count
1
IDL> oSave=oTool->getByIdentifier(idSave)
IDL> oSave->setProperty,filename='iplot.isv'
IDL> print,oTool->doAction(idSave)
1
IDL> idExit=oTool->findIdentifiers('*exit',/operations,count=count) &
print,count
1
IDL> print,oTool->doAction(idExit)
1

Any clues? Thanks,
Benjamin
[Message index]
 
Read Message
Previous Topic: Starting multiple idlwave-shell's?
Next Topic: 3D plot w/ rotation in faster way?

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

Current Time: Wed Oct 08 15:52:33 PDT 2025

Total time taken to generate the page: 0.00559 seconds