Article View: adobe.scripting.indesign
Article #19169Beginners 1.5 versus 2.01 query
From: roger purves
Date: Wed, 15 Jan 2003 03:48
Date: Wed, 15 Jan 2003 03:48
58 lines
2163 bytes
2163 bytes
to the forum:
I ran the script below in InDesign 1.5
and in InDesign 2.01(trial edition.).
The effects seem to be different. In
1.5 the last line is "sample text",
whereas in 2.01 it is just "text".Is
there a reason for the different
appearances?
I tried this on an ibook and a G4(both
on system 9.2) and saw the same
effects. I believe I was using
defaults everywhere, but may be
wrong.
I did notice on the G4 that that the
typeface was called Times Regular
in 1.5 and Times Roman in 2.01. Are
these different typefaces? If so, I
don't remember doing anything ever
with any variant of "Times" on either
the ibook or G4. How might I
unwittingly have obtained the two
variants of Times?
I am definitely a beginner with
InDesign--or any page layout
program, for that matter--so
I am hoping my question is easy
to answer.
Thank you,
Roger
--------------------------------------
--open a new document before
--running the script.
tell application "InDesign 2.0.1"
--tell application "InDesign 1.5"
--The "a" is repeated 41 times:
set str to "This is a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a sample text"
set mySpread to active spread of
active window
tell mySpread
set myTextFrame to make text frame
set geometric bounds of my TextFrame
to {"6p0", "6p0", "18p0", "18p0"}
set text of myTextFrame to str
end tell
end tell
--------------------------------------
Technical Details
Message-ID:
<1de76280.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b518caeec9032cfe,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-14 20:07:47 PST From: "roger purves" <roger@stat.berkeley.edu> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Beginners 1.5 versus 2.01 query Message-ID: <1de76280.-1@WebX.la2eafNXanI> Date: Tue, 14 Jan 2003 19:48:42 -0800 Lines: 58 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit