Re: InDesign place asset from library on a certain page
Re: InDesign place asset from library on a certain page
- Subject: Re: InDesign place asset from library on a certain page
- From: Steve Mills via AppleScript-Users <email@hidden>
- Date: Mon, 21 Feb 2022 08:25:12 -0600
> On Feb 21, 2022, at 05:32, Bert Groeneveld via AppleScript-Users
> <email@hidden> wrote:
>
>
> InDesign question:
>
> I use following code to place an asset from an InDesign library.
> Unfortunately the asset lands on the wrong page. How can I force the lib item
> to land on a certain page, for example page 3?
> I tried tell myPage, but that doesn’t work.
>
> Thanks in advance for any help!
>
> tell application "Adobe InDesign 2022"
> --tell myPage
> set objList to place asset asset QR_panelstand of QR_Lib on
> document 1
> --end tell
> end
Try using a target of “end of myPage of document 1”. I’ve never used place
asset, so I can’t test it. But it could be just another piece of the horrible
implementation of AppleScript in InDesign, and you’ll simply need to move it to
the right page/layer after placing. Hopefully place asset returns the new
object so you can do that easily.
Steve via iPad
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden