> On 1 Mar 2016, at 21:32, J. Landman Gay <jac...@hyperactivesw.com> wrote:
> 
> "To export a snapshot for a portion of a stack you use the form:
> export snapshot from rect[angle] of window windowID to ...
> Where windowId is the windowId property of the required stack."

This does not work correctly on a Mac for the reason given previously.

The top and bottom of the image exported has shifted down by the depth of the 
menubar.
put the rect widget "Chart" into tRect

export snapshot from rectangle tRect of window (the windowId of window "Test") 
to tVar as PNG


The corrected version would be:

put the rect widget "Chart" into tRect

subtract 22 from item 2 of tRect

subtract 22 from item 4 of tRect

export snapshot from rectangle tRect of window (the windowId of window  “Test") 
to tVar as PNG



All the best

Terry
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to