🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9542

[CS2 JS] anchoredObjectSettings

#9542
From: bart_devos
Date: Thu, 17 Aug 2006 13:18
18 lines
1162 bytes
Hi,

Please try this one:

Make a textframe with an anchored text frame embedded.
Set a scriptlabel on the parentframe: "parent" and on the childframe: "child"
Select the anchored textframe (child) and execute following code:
var theDocRef = app.activeDocument;

var theCf = theDocRef.selection[0];

var theFake = 0;

Set a break on theFake and evaluate the properties beneath the anchoredObject property of theCf variable. As parent the childframe is displayed and not the parent display. Is this a bug or am i missing something? How can i retreive the parentframe otherwise?

Thanks in advance!

Bart.
Technical Details
Message-ID: <3bc14b6f.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c90104d888f0df00,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: bart_devos@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: [CS2 JS] anchoredObjectSettings
Message-ID: <3bc14b6f.-1@webcrossing.la2eafNXanI>
Date: Thu, 17 Aug 2006 06:18:36 -0700
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing