🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17747

AS - Tab stop in paragraph

#17747
From: Fernando G. Jensen
Date: Wed, 14 May 2003 13:47
22 lines
1317 bytes
What follows is my attempt of writing a tab stop script in AppleScript:

tell application "InDesign 2.0.2"
	tell active document
		tell every paragraph of story 1
			make tab stop
			set position of tab stop to 56.5
			set alignment of tab stop to right
			set leader of tab stop to "�"
		end tell
	end tell
end tell

I'm trying to make the tab stop without first having to select the text inside the box, since I don't want any user interference.

What I'm missing? An object reference?

... and by the way:
Is it posible to make the tab stop (with the properties alignment, leader and position) inside a paragraph style?

Thanks
Fernando
Technical Details
Message-ID: <1de91f47.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,c14ed4311c08166f,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-14 07:12:03 PST
From: "Fernando G. Jensen" <fgj@eniro.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS - Tab stop in paragraph
Message-ID: <1de91f47.-1@WebX.la2eafNXanI>
Date: Wed, 14 May 2003 06:47:04 -0700
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit