Ray wrote:
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

Unless you need the group for other purposes, you can use the card object directly.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

_______________________________________________
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

Reply via email to