Copy link to clipboard
Copied
I just want a script that will delete all the notes in InDesign.
This one isn't working. It says it can't get every note.
tell mydoc
set mynotes to every note
repeat with i from (count of mynotes) to 1 by -1
delete item i of mynotes
end repeat
end tell
"Adobe InDesign 2024 got an error: Can’t get every note of document id 8." number -1728 from every note of document id 8
try this:
tell document 1 to delete notes of stories
Copy link to clipboard
Copied
Not an AS guy but Document doesn't have a Notes property. Instead I would get all notes from all stories in a doc
Copy link to clipboard
Copied
try this:
tell document 1 to delete notes of stories