🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16734

Re: ApplyStyle Method (Semi-Newbie Question)

#16734
From: Paul Jurgens
Date: Tue, 05 Aug 2003 19:02
13 lines
1420 bytes
Ole,

I think that I see the problem that I was having now. I was trying to put parenthesis around the arguments for the method and did not include the Boolean override. It did not generate an error message but it also didn't do anything.

ie: myCharacter.ApplyStyle(myCharStyle)

Still transitioning to VB script from old (and rusty) habits.

Sorry, if I confused the situation with my original post. The original script did work when I set the property directly. I just wanted to understand the proper use of the method to accomplish it the "right" way.

Thanks for your help.

--Paul
Technical Details
Message-ID: <1dea2561.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!62.132.236.44.MISMATCH!ecngs!feeder.ecngs.de!feed1.news.be.easynet.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1dea2561.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,79e1d7a74e4853d1
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-08-05 12:08:05 PST
From: "Paul Jurgens" <flynfall@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!62.132.236.44.MISMATCH!ecngs!feeder.ecngs.de!feed1.news.be.easynet.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: ApplyStyle Method (Semi-Newbie Question)
Message-ID: <1dea2561.2@WebX.la2eafNXanI>
Date: Tue, 5 Aug 2003 12:02:52 -0700
References: <1dea2561.-1@WebX.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit