Hi

I sent this a few days ago, but for some reason it was returned to 
me. I thought it might still be useful.

Cheers
Dave Cragg

At 4:54 PM -0500 11/10/00, Simon Lord wrote:
>So much activity this week that I thought I'd ask the whole list if they
>have a need to export *cards* with all elements as a standard Jpeg file.  I
>personally really need this so if anyone has a solution (besides taking a
>screenshot) then let me know.  It also cannot be something like saving a
>PICT to disk and performing conversions later.
>
>The stack is for webmasters and other services such as directory cataloging
>into html files (converts, resizes and brands images etc).

How about this?

on mouseUp
    ask file ""
    if it is not empty then
      put it into tFile
      put the windowID of this stack into tWinID
      put the rect of this card into tRect
      lock messages ##stops the cursor changing to pointer
      import snapshot from rect tRect  of window tWinID
      put the number of images of this card into tImageNum
      select image tImageNum
      export jpeg to file tFile
      delete image tImageNum
    end if
end mouseUp

Cheers
Dave Cragg

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