Odd. Yes, this does work just fine. Not sure what I did earlier. All is well again. Thanks.
On Mar 28, 2014, at 3:49 PM, Jan Schenkel <janschen...@yahoo.com> wrote: > That's odd, I tested it earlier on a Windows machine, and again just now on a > Mac, with LC 6.6 > > Here's my recipe: > - create a new stack > - drag an image and a button on it > - set the button script to: > ## > on mouseUp > local tObj, tData, tHeight, tWidth > put the long id of me into tObj > put 4 * the height of tObj into tHeight > put 4 * the width of tObj into tWidth > export snapshot from tObj at size tWidth, tHeight to tData as PNG > put tData into image 1 > end mouseUp > ## > > Click on the button and the image gets set without any issues. > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > -------------------------------------------- > On Fri, 3/28/14, Chris Sheffield <cmsheffi...@icloud.com> wrote: > > Subject: Re: new "at size" clause in export snapshot > To: "How to use LiveCode" <use-livecode@lists.runrev.com> > Date: Friday, March 28, 2014, 2:21 PM > > Thanks, Jan. Making that change at > least allowed my script to compile. Unfortunately, I got a > run-time error. So something is still up. However, import > snapshot works. I just had to take an extra step to deal > with the created image. > > I’ll get a bug report submitted asap. > > Thanks, > Chris > > > _______________________________________________ > 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