Paul - once again thanks for this insight. I'd thought I'd let you know
the following script which groups everything on the card, gets a
snapshot /of the group/, and then ungroups everything, is working well.
on importGroupSnapshot snapName,myRect
repeat with C=1 to number of controls
set the selected of control C to true
end repeat
group
import snapshot from rectangle myRect of last grp
set the name of last img to snapName
select last group
ungroup
select empty
choose the browse tool
end importGroupSnapshot
Thanks again!
On 9/18/15 11:37 AM, Paul Hibbert wrote:
Ray,
Importing a snapshot from rect uses the computer’s graphic card to generate the
snapshot image, whereas, importing a snapshot from an object (group, card,
stack etc.) allows the LC engine to generate the snapshot image.
I’m travelling right now so can’t test so easy, but I’m sure if you can drop
the ‘from rect’ you should see an improvement.
Paul
On 18 Sep 2015, at 08:32, Ray <[email protected]> wrote:
Greetings - Has anybody had any success importing a snapshot from a stack's
window which is offscreen?
I'm looping through every card in a stack to import a snapshot using something
like:
import snapshot from rect myRect of window myWinId
This causes a lot of annoying screen flicker so I'd like to place the stack's
window off screen, do the importing and then return it on screen. But doing so
gives me blank images for the snapshots.
Any suggestions?
Thanks!
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode