Re: placing library assets into a document - InDesign CS
Re: placing library assets into a document - InDesign CS
- Subject: Re: placing library assets into a document - InDesign CS
- From: Courtney Schwartz <email@hidden>
- Date: Thu, 23 Sep 2004 11:08:54 -0400
Nevermind, I got it... Here's the magic formula:
tell application "InDesign CS"
tell library "bookletLibrary"
tell asset "titlePage"
place asset on my document 1 --If the pages require an unfound
plug-in, you'll get a similar error to this one. Error:InDesign CS got
an error: Cannot add selection to publication. One or more objects were
created with the following plug-in(s) that are not in your Plug-ins
folder: Sonar Bookends® InFnote, Sonar Bookends® InXref, InBooklet.pln.
Install the plug-ins and restart Adobe InDesign.
end tell
end tell
end tell
Hope that might help someone else in future...
Courtney Schwartz
On Sep 23, 2004, at 10:59 AM, Courtney Schwartz wrote:
Hello all,
I've tried various permutations of the "place asset on document"
command for an InDesign CS library asset. I can't seem to find the
trick to it. Has anyone here successfully placed a library item into
an InDesign document? Any ideas?
Here's some of what I've tried, but did not work:
tell application "InDesign CS"
tell library "bookletLibrary"
tell asset "titlePage"
place me on my document 1--Error:Can't make «class Lass» id 36 of
«class Libr» "bookletLibrary" of application "InDesign CS" into the
expected type.
end tell
end tell
tell active document -- Both application and documents have library
elements... which one should I address?
tell library "bookletLibrary"
tell asset "titlePage"
place me on my document 1 --Error:Can't get asset "titlePage" of
library "bookletLibrary" of active document.
end tell
end tell
end tell
place asset "titlePage" of library "bookletLibrary" of document 1 on
document 1 --Error: Can't get "titlePage" of library "bookletLibrary"
of document 1. Access not allowed.
place asset "titlePage" of library "bookletLibrary" on document 1
--Error: Can't get "titlePage" of library "bookletLibrary". Access not
allowed.
end tell
Thanks,
Courtney Schwartz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________
Courtney Schwartz
Documentation Specialist
Global Technology Associates
3505 Lake Lynda Dr. Suite 109
Orlando, FL 32817 USA
(407) 380-0220 x1427
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden