🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17933

Re: indent to here

#17933
From: Jay Fraser
Date: Thu, 08 May 2003 18:34
14 lines
1332 bytes
If you mean after the first number, ie between the number and the first period, this works:



tell application "InDesign 2.0.2" 
   tell active document 
      tell story 1 
         repeat with i from 1 to (count paragraphs) 
            set myRightHere to (index of character 1 of paragraph i whose contents = ".") 
            set contents of insertion point myRightHere to indent here tab 
         end repeat 
      end tell 
   end tell 
end tell
Technical Details
Message-ID: <1de8f59c.5@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.65.3.53.MISMATCH!news-out.spamkiller.net!propagator2-maxim!feed.newsfeeds.com!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8f59c.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c783ca462beccebc
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-08 11:37:56 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.65.3.53.MISMATCH!news-out.spamkiller.net!propagator2-maxim!feed.newsfeeds.com!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: indent to here
Message-ID: <1de8f59c.5@WebX.la2eafNXanI>
Date: Thu, 8 May 2003 11:34:18 -0700
References: <1de8f59c.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit