Question
Add Item to an InDesign Library Using AppleScript
Hello,
I'm hoping someone can help me figure out how to script adding an item to an InDesign library. The line highlighted in red is my guess that didn't work.
tell application "Adobe InDesign CS6"
set lib_list to get name of libraries
set test_lib to item 1 of lib_list
log test_lib
set the_sel to the selection
log the_sel
add item the_sel to library test_lib with properties {name:"Black square"}
end tell