Re: Simple Question: How to delete objects in a group?
Posted: Mon Nov 02, 2015 3:37 am
Thanks for the quick replies people...
The solution I used for deleting the objects in a group is by using the code provided by MaxV.
The result is clean and simple.
Here is how I used his code:
The solution I used for deleting the objects in a group is by using the code provided by MaxV.
The result is clean and simple.
Here is how I used his code:
Code: Select all
put the number of controls of group "CCTVList" into temp
repeat with i=1 to temp
put the name of control i of group "CCTVList" after listContr
put CR after listContr
end repeat
repeat for each line tLine in listContr
if the last word of tLine is not (quote & "grElement" & quote) then
do "delete " & tLine & "of group CCTVList"
end if
end repeat
