On 15 Mar 2007, at 14:23, Klaus Major wrote:
i created 2 teststacks, modified your script a little bit for these
stacks and ended
with a nice, correct yet invisible screenshot of the "printstack"s
content!
on mouseUp
put the loc of stack "printstack" into altloc
set the left of stack "printstack" to 2500 --off screen
put the windowid of stack "PrintStack" into tWinID
put "0,0,"& the width of stack "printstack" & comma & the height
of stack "printstack" into trect
set the rect of the templateimage to trect
create invisible image imgname
export snapshot from rect trect of window tWinID to pictvar as JPEG
put pictvar into image imgname of this stack
SHOW img imgname of this stack
## optional, but looks better ;-)
set the loc of stack "printstack" to altloc
end mouseUp
Did I miss something?
Do you experience memory leaks when you are running this?
All the Best
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution