I've successfully managed to add files to a group with AppleScript, but I also need to be able to remove a child group. I thought something like
tell currentGroup
--remove any groups already present
repeat with groupItem in groups
--display alert " " & name of groupItem
remove groupItem from groups
end repeat
end tell
but it tells me that remove is not supported by that container. Any ideas?