Re: Indesign CS asset problem
Re: Indesign CS asset problem
- Subject: Re: Indesign CS asset problem
- From: Götz Verdieck <email@hidden>
- Date: Thu, 12 Feb 2004 16:31:57 +0100
Thanks,
the hints helped and lead me to the next error:
select every page item -- this line will not work in ID CS
set mySelection to items of selection.
Is there a document with the scripting changes from
ID 2 to ID CS available ?
Goetz
>
Von: Shane Stanley <email@hidden>
>
Datum: Thu, 12 Feb 2004 21:07:49 +1100
>
An: AS user list <email@hidden>
>
Betreff: Re: Indesign CS asset problem
>
>
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.
_______________________________________________
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.