I'm trying to use an applescript to lock every object across every slide of a keynote deck, with only partial success. I've provided the code I'm using below. So far it works, but it seems to skip any objects that are grouped. Is there any way I can tell the script to also include grouped objects?
tell application "Keynote"
tell document 1
tell every text item of every slide
set locked to true
end tell
tell every shape of every slide
set locked to true
end tell
tell every image of every slide
set locked to true
end tell
tell every movie of every slide
set locked to true
end tell
tell every line of every slide
set locked to true
end tell
tell every item of every slide
set locked to true
end tell
end tell
end tell
The intention is make it so that the content of every slide is locked, with the exception of the presenter notes. I'm not even sure if this can be done, so I'd appreciate any help on this. Thanks in advance!