我已经成功地使用 AppleScript 将文件添加到组中,但我还需要能够删除子组。我想像
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
但它告诉我该容器不支持删除。有任何想法吗?