🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8394

Javascript troubles trying to select and delete a frame

#8394
From: mike_d_moore
Date: Mon, 16 Oct 2006 21:54
13 lines
1269 bytes
Hello,

I am new to Javascripting so don't beat me... I am trying to write a Javascript to select a rectangle frame and delete it. I would identify it by the fact that it is labeled as a certain name ("delete").

So I can write a script to delete an object I already have selected... which I understand is not an accomplishment! ;) Trouble is I can't seem to find a way to scan through objects by it's assigned name and then delete it.

I can't even figure out how to automatically select an object based on any criteria even after some time in front of the ID scripting guide. I also searched the web and this forum... no dice.

Can anyone point me in the right direction?

Thanks!

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

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8e366b71b82eba5c,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: mike_d_moore@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Javascript troubles trying to select and delete a frame
Message-ID: <3bc1fd12.-1@webcrossing.la2eafNXanI>
Date: Mon, 16 Oct 2006 14:54:05 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing