mfstuart wrote:
Hi Jacqueline and Sadhunathan,

Testing Jacqueline's script on WinXP, I found the "from rect (the rect of
this cd)" value is from the top right of the monitor, (for the size of the
card) not from the top right of the stack or card.
So in the image you end up with the screen back ground, the RunRev menu bar,
and some of the stack as the screen shot, in my case.

I looked up the Documentation for export snapshot and found that you need to
use the windowID property of the stack in the export snapshot line to get
images of the stack or card, in this case.
But first place the windowID into a variable:

  put the windowID of this stack into vWinID
  repeat with x = 1 to the number of cds
    go cd x
    put "c:/temp/snapshot" & x & ".png" into tfilename
    export snapshot from rect (the rect of cd x) of window vWinID to file
tfilename as PNG
  end repeat

Thanks, I shouldn't have posted it without testing first. Glad you put the correction into the record.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to