🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16231

Re: [VB]Placing text in frame, with different styles

#16231
From: Eelko_Heuvelmans
Date: Fri, 03 Oct 2003 14:21
18 lines
1351 bytes
trying,...

hmm
This line:
myinsertionpoint.ApplyStyle myDocument.ParaStyles.Item("Italics_Style")
had to be replaced by:

myinsertionpoint.CharacterStyle= myDocument.CharStyles.Item(strCharStyle)

At least, i assume, insertionpoints do not have a member called Applystyle (according to the idesign scripting guide).
anyway,.. there is a visible inprovement now!
i'm not satisfied yet, but tha's probably because of my horrible coding :D

I'm going to get things sorted now.
I'll get back to here tomorrow,
my day at the office is nearly over :)

Thanx already!
Technical Details
Message-ID: <2ccd9e01.3@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd9e01.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2da61a4116613d05
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-03 07:37:46 PST
From: Eelko_Heuvelmans@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB]Placing text in frame, with different styles
Message-ID: <2ccd9e01.3@webx.la2eafNXanI>
Date: Fri, 3 Oct 2003 07:21:08 -0700
References: <2ccd9e01.-1@webx.la2eafNXanI>
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit