Re: Snapshot of browser not working?
I believe this is a bug/feature of the browser widget being a native control. What has worked for me is being more specific about the snapshot location. export snapshot from rect globalRect(the rect of widget “Browser" of group “foo") to pictVariable as PNG This has worked in macOS and Windows standalones for a current project. Hope that helps! —Andrew Bell > Subject: Snapshot of browser not working? > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > ___ 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
Re: Snapshot of browser not working?
Exporting a snapshot of a PLAYER fails under Windows (see https://quality.livecode.com/show_bug.cgi?id=23694). Exporting the Browser widget may be related? If it is reproducible in a test stack, you shoud file a bug report with a test stack to demonstrate the error. I seem to recall other export snapshot bugs. There is one related to multiple displays (https://quality.livecode.com/show_bug.cgi?id=22852) and there may be others. On 8/1/2023 11:46 AM, David Bovill via use-livecode wrote: I cannot find a specific bug report - but I am trying to take a snapshot of a browser widget to capture an image of the website. In the latest 10 DP 5 on MacOS M2 i get a very truncated text of the image (a few lines) in all formats using: *export* snapshot from widget "Browser" to pictVariable as PNG Is this something that works on other platforms or livecode versions? ___ 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
Snapshot of browser not working?
I cannot find a specific bug report - but I am trying to take a snapshot of a browser widget to capture an image of the website. In the latest 10 DP 5 on MacOS M2 i get a very truncated text of the image (a few lines) in all formats using: *export* snapshot from widget "Browser" to pictVariable as PNG Is this something that works on other platforms or livecode versions? ___ 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