🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9893

Variation of Dave's Script in "How To Begin Scripting"

#9893
From: Fred_Goldman
Date: Sun, 16 Jul 2006 05:04
5 lines
1104 bytes
I'm trying to make a variation of Dave's script to help me automate side-headings. I have two questions:

1) In the UI Object>Anchored Object>Insert... How do you do this with JS? I've got my default all set up, so it doesn;t need any tweeking, but I can't figure out how to insert it with scripting.

2) Right now the side heading text is at the end of the paragraph. How would I move the insertion point to the first line of the paragraph before inserting the anchored object?
Technical Details
Message-ID: <3bc0ed94.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c3f000112de732ba,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Fred_Goldman@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Variation of Dave's Script in "How To Begin Scripting"
Message-ID: <3bc0ed94.-1@webcrossing.la2eafNXanI>
Date: Sat, 15 Jul 2006 22:04:48 -0700
Lines: 10
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.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing