🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2205

Re: [JS CS3] Releasing Anchored Objects

#2205
From: Skempy
Date: Mon, 05 Jan 2009 22:16
21 lines
1510 bytes
Harbs

If I comment out the two lines
myAnchoredFrame.anchoredObjectSettings.releaseAnchoredObject();
myAnchoredFrame.sendToBack();

Then gradient frames are placed correctly behind each paragraph of text within by labelled text frame.

By un-commenting the two lines in order to release the anchored frames and send them behind the text the placement of the frames goes wrong.

With four paragraphs the first gradient filled frame is placed correctly behind the first paragraph, the next two gradient filled frames are placed in the top lefthand corner of the page and the forth gradient filled frame is placed to the left of myTextFrame.

My orginal script which makes duplicates of the anchored frames and then moves them into position works OK but I would really like to use the releaseAnchoredObject(); method.

Any further help would be greatly appreciated.

One last thing, is there a CS3 version of the Scripting Reference PDF?

Thanks

Simon.
Technical Details
Message-ID: <59b7683a.8@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
References: <59b7683a.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
From: Skempy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS CS3] Releasing Anchored Objects
Message-ID: <59b7683a.8@webcrossing.la2eafNXanI>
Date: Mon, 5 Jan 2009 14:16:57 -0800
References: <59b7683a.-1@webcrossing.la2eafNXanI>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit