ID bookにドキュメントを追加


#InDesign CS5


tell application "Adobe InDesign CS5"

set {a1, a2} to {books, documents}

set a5 to full name of book contents of a1's item 1

repeat with a3 in a2


set a4 to full name of a3

if a4 is not in a5 then make new book content of a1's item 1 with properties {full name:a4}

end try

end repeat

end tell