• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Indesign CS asset problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Indesign CS asset problem
      • From: Götz Verdieck <email@hidden>
References: 
 >Indesign CS asset problem (From: Götz Verdieck <email@hidden>)

  • Prev by Date: Indesign CS asset problem
  • Next by Date: Trouble scripting airport connections
  • Previous by thread: Indesign CS asset problem
  • Next by thread: Re: Indesign CS asset problem
  • Index(es):
    • Date
    • Thread