I thought "export jpeg" only worked for exporting selected bitmap 
images within MC.

>On 2/12/01 9:20 AM, "greg" <[EMAIL PROTECTED]> wrote:
>
>>  Does anyone know of a way I can generate a .jpg or .gif file of a
>>  metacard (windows) window? I know of utilities that will capture the
>>  screen, but I would like to be able to export a graphic file of the
>>  screen from within a metacard script.
>>
>>  Thanks,
>>  mailto:[EMAIL PROTECTED]
>>
>>  Archives: http://www.mail-archive.com/[email protected]/
>>  Info: http://www.xworlds.com/metacard/mailinglist.htm
>>  Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>>
>>
>on mouseUp
>   --lock screen
>   put the rect of this stack into x
>   set the defaultstack to the topstack
>   --put the windowID  of this stack into y
>   import snapshot from rect x --of window y
>   select last image
>   ask file "where to save this?"
>   put it&".jpg" into path
>   export jpeg to file path  -- or portable bitmap image
>   delete last image
>   choose browse tool
>   --unlock screen
>end mouseUp
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 


Cheers,
Simon

All your .com .net and .org domains for only $14.50 each.
Get them while they last... http://www.amigo-3.com/hosting/

--------------------------------------------------
"The great discoveries in science are not punctuated by 'Eureka! I've 
found it!' but rather "Hmmm,that's funny...." Isaac Asimov 

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to