Re: InDesign CS2 Library Asset on specific page
Re: InDesign CS2 Library Asset on specific page
- Subject: Re: InDesign CS2 Library Asset on specific page
- From: Luca Pozzato <email@hidden>
- Date: Mon, 27 Nov 2006 22:12:32 +0100
Hi Dan, you can always position your asset afterwards
tell application "Adobe InDesign CS2" set placedAsset to place asset asset 1 of library 1 on document 1 move placedAsset to beginning of page 2 of document 1 end tell
Luca
On Nov 27, 2006, at 8:43 PM, Dan Doughtie wrote: 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:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden