Shouldn't you be using relative points for the rect?

From the docs (2.8) :If a window, stack or object is specified, the rectangle is given in relative (window) coordinates; otherwise, it is given in absolute coordinates.

So:

put the windowID of this stack into tWindowID
put the rect of grp "GroupCounter" into tFrameRect
export snapshot from rect tFrameRect of window tWindowID to file tFileName as PNG

Best,

Mark

On 20 Mar 2007, at 11:28, Dave wrote:


    put the windowID of this stack into myWindowID
put globalLoc(the topLeft of group "GroupCounter") into myFrameRect put "," and globalLoc(the bottomRight of group "GroupCounter") after myFrameRect export snapshot from rect myFrameRect of window myWindowID to file myFileName as PNG

_______________________________________________
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