🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18814

Paragraph styles, defaults, and overrides

#18814
From: Ben Dupre
Date: Wed, 19 Feb 2003 17:11
11 lines
1406 bytes
Hi,

I have a problem with one of our scripts. It creates a text frame, adds some text contents, sets a paragraph style, and more.

The problem I've found is this: When the frame is created, it picks up a default paragraph and character style. (Whatever was selected in the pallete while no text frame was selected becomes a default for all new text frames).

I need to either reset this "default" before the frame gets created (in my script), or I need to do the script equivalent of holding "alt" while clicking the style to remove the defaults as the style gets applied.

Are either of these two approaches possible? Does anyone have any other suggestions?

Ben
Technical Details
Message-ID: <1de7ecf4.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,706514443a8fa29e,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-19 09:38:06 PST
From: "Ben Dupre" <bdupre@sauer-danfoss.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Paragraph styles, defaults, and overrides
Message-ID: <1de7ecf4.-1@WebX.la2eafNXanI>
Date: Wed, 19 Feb 2003 09:11:30 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit