Dear All,
Below code is working fine with InDesign CS3 and CS4, but not working with CS5. I have a text frame with label “myRemoveFrame” and I want to delete.
tell application "Adobe InDesign CS5"
set myDoc to front document
tell myDoc
set myPageItems to page item "myRemoveFrame"
repeat with aFrame in myPageItems
if class of aFrame is text frame then delete aFrame
end repeat
end tell
end tell
Regards,
Poo