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

Home » Public Forums » archive » iTools screenshots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
iTools screenshots [message #45299] Wed, 31 August 2005 13:52 Go to previous message
mjfinch@gmail.com is currently offline  mjfinch@gmail.com
Messages: 1
Registered: August 2005
Junior Member
What I would like to do is fire up an iTool, get a screen grab, and
close the iTool. The problem I keep running into is that the iTools
don't seem to want to render anything until the program flow has
returned to the top level.

This procedure "RenderTest" works perfect in IDL 6.2, but not in 6.1
The jpeg it writes is just all white because nothing was rendered when
the screen grab was taken...

Any ideas on how to do this with 6.1.1 ?

Thanks,
Mike Finch

Pro RenderTest
image =INDGEN(720,360, /FLOAT)
iImage, image
void = itGetCurrent(TOOL=oTool)
windowObj = oTool -> GetCurrentWindow()
oWriter = oTool->getService("WRITE_FILE")
success = oWriter->WriteFile('c:\autoRenderTest', $
windowObj, SCALE_FACTOR=1.0, $
WRITER='/REGISTRY/SETTINGS/FILE WRITERS/JOINT PHOTOGRAPHIC EXPERTS
GROUP')
idExit = oTool->FindIdentifiers('*exit', /OPERATIONS)
success = oTool->DoAction(idExit)
End
[Message index]
 
Read Message
Read Message
Previous Topic: Re: salida widgets
Next Topic: Concatenating arrays

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

Current Time: Fri Oct 10 13:05:54 PDT 2025

Total time taken to generate the page: 2.15969 seconds