Iterating over objects in a group?
Posted: Wed Jan 20, 2010 6:55 am
Sorry if this is covered somewhere, but I've been looking and can't seem to find it. What I'd like to do is send a message to all the objects in a group. For example (pseudo code):
Just curious if this is doable somehow?
Thanks!
Jeff M.
Code: Select all
command savePrefs
get objects in group "GroupName"
repeat for each line tLongID in it
send "savePrefs" to tLongID
end repeat
end savePrefs
Thanks!
Jeff M.