Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign CS2 Library Asset on specific page



Title: InDesign CS2 Library Asset on specific page
I’ve got the basic place asset script to work but can’t find the syntax to specify which page. The script uses a slightly different syntax in referring to  “on document x” instead of “of document x” etc.

So, using a line from Shirley’s book

Set placedAsset to place asset asset “AssetName” of library “LibraryName” on document 1

Works great and places the asset on the active page. But I need to be able to specify a certain page based on certain criteria.

Tried

Set placedAsset to place asset asset “AssetName” of library “LibraryName” on page 1 of  document 1

Set placedAsset to place asset asset “AssetName” of library “LibraryName” on page 1 on  document 1

Set placedAsset to place asset asset “AssetName” of library “LibraryName” on page 1

None worked. The error basically says it was expecting back text or a document and got page.

Any suggestions

Dan
--

Dan Doughtie
Augusta, GA
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.