It may not be the most elegant solution, but this works for me: on mouseUp
put the rect widget "Chart" into tRect add left of this stack to item 1 of tRect add left of this stack to item 3 of tRect add top of this stack to item 2 of tRect add top of this stack to item 4 of tRect export snapshot from rect tRect to tVar as PNG put tVar into image "myImage" end mouseUp Tore > 1. mar. 2016 kl. 20.57 skrev Tore Nilsen <tore.nil...@me.com>: > > You must take the distance from the left egde of the screen and from the top > of the screen into consideration when you try to export a snapshot of a > browser instance. The browsers position is measured from the topLeft of the > screen, not the card I think. > > Tore >> 1. mar. 2016 kl. 20.41 skrev Terence Heaford <t.heaf...@icloud.com>: >> >> I have been unable to get the Browser widget to print as I >> suspect there is no option for this so I thought I would try a snapshot >> using this: >> >> export snapshot from rect (the rect of widget "Chart") of this card to tVar >> as PNG >> >> put tVar into image "myImage" >> >> >> Unfortunately it does not capture the image in the correct rect of the card >> even though the dimensions seem correct. >> >> Am I missing something in the application of the export snapshot command. >> >> >> Thanks >> >> 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 > > > _______________________________________________ > 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 _______________________________________________ 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