Re: Indesign CS asset problem
Re: Indesign CS asset problem
- Subject: Re: Indesign CS asset problem
- From: Shane Stanley <email@hidden>
- Date: Thu, 12 Feb 2004 21:07:49 +1100
On Feb 12, 2004, at 7:44 PM, Gvtz Verdieck wrote:
the following code worked in InDesign 2.02:
...
set myLibrary to open file (pIDBiblioPath & pBiblioName)
store myGroup into myLibrary -- This line caused error message but
worked
in ID 2.02
....
If you look at the Library Suite in the dictionary, you will see that
it has changed quite a bit. So you need:
tell application "InDesign CS"
set myLibrary to open (pIDBiblioPath & pBiblioName)
store myLibrary using myGroup
end tell
I'm not sure that the use of "file" in your code above worked in 2.0.2
either -- it normally requires either an alias or a path.
...
place asset "Gruppe_Seite1" of myLibrary on myDocument --This line
caused
error message but worked in ID 2.02
...
Placing assets now uses the "place asset" command, so you need
something like:
place asset asset "Gruppe_Seite1" of myLibrary on myDocument
--
Shane Stanley <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.