Any suggestions on how to do this?
Probably simple but I'm stuck!
Code: Select all
on openCard
put yLine into tTemp
repeat with x = 1 to tCreate
clone group "template" of me
set the name of it to (carLine & x)
if x = 1
then
set the loc of group (carLine & x) to xLine, yLine
else
set the loc of group (carLine & x) to xLine, (tTemp + 44)
add 44 to tTemp
end if
end repeat
-- Here I need to group all the groups I created above into one group
end openCard
///Peter