🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
6 messages
6 total messages Started by buhari_masthan Mon, 29 Dec 2008 11:20
Anchor the library elements
#2344
Author: buhari_masthan
Date: Mon, 29 Dec 2008 11:20
6 lines
683 bytes
Hi All,

Is there any option to anchor the library elements with scripting? If so, kindly help me!!!

Thanks
Masthan
Re: Anchor the library elements
#2346
Author: Dave_Saunders
Date: Mon, 29 Dec 2008 13:08
3 lines
903 bytes
Yes. Use the placeAsset() method for each library asset. Prior to CS4, this is one case where you need to select an insertion point (or even a run of text) before issuing the command -- in CS4, you can target the command to a text object, and then apply an appropriate object style to setup the anchoring parameters.

Dave
Re: Anchor the library elements
#2349
Author: buhari_masthan
Date: Tue, 30 Dec 2008 10:47
12 lines
927 bytes
Hi Dave,

Thank you very much for your reply.

I have the source code for anchored tool works with text frame as follows:

var myAnchoredFrame = myDocument.stories.item(0).paragraphs.item(i-1).insertionPoints.item(0).textFrames.add();

But I need the source code for anchored tool works with library. Could you provide?

Thanks
Masthan
Re: Anchor the library elements
#2381
Author: buhari_masthan
Date: Fri, 02 Jan 2009 11:41
3 lines
712 bytes
Can anyone help me???

Masthan
Re: Anchor the library elements
#2392
Author: Dave_Saunders
Date: Fri, 02 Jan 2009 23:09
5 lines
735 bytes
Have you noticed this topic?

loic_aigon, "[JS CS3] Releasing Anchored Objects" #1, 2 Jan 2009 6:29 am </webx?13@@.59b7683a/0>

Dave
Re: Anchor the library elements
#2121
Author: buhari_masthan
Date: Mon, 05 Jan 2009 05:54
1 lines
657 bytes
Thank you very much, Dave. This helps me a lot.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads