🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15815

Re: AS-2.0.2-Horizontal Scaling of Text

#15815
From: Shane_Stanley
Date: Thu, 06 Nov 2003 01:26
25 lines
1525 bytes
On Nov 6, 2003, at 12:09 PM, Peter Truskier wrote:

> I don't think this is right.

Humor us -- try this code:

		repeat until overflows is false
			tell parent story to set horizontal scale to 0.99 * horizontal scale
		end repeat
>
> I actually did my testing with a frame in which NO text was visible - 
> it was a two words, and the frame was to narrow for even the first 
> word to fit. And yet, the script did make it fit, AND ALL of the 
> characters still show 100% horizontal scale. If I were addressing only 
> visible characters, then it would never have broken out of the loop.

Which is exactly what happened with your code here...
>
> Color me puzzled...

It could be something else in your script that is affecting the target.

--
Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID: <49B3C57C-0FF8-11D8-A993-003065D61B90@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce3956.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c53fbda946236634
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-05 17:37:54 PST
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: AS-2.0.2-Horizontal Scaling of Text
Message-ID: <49B3C57C-0FF8-11D8-A993-003065D61B90@myriad-com.com.au>
Date: Wed, 5 Nov 2003 17:26:47 -0800
References: <2cce3956.-1@webx.la2eafNXanI>
Lines: 28
X-Mailer: Apple Mail (2.606)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit