🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18809

Re: indesign-scripting : Style Creation

#18809
From: Olav Kvern
Date: Wed, 19 Feb 2003 10:01
22 lines
1733 bytes
Laurent--

re: "i just have to manage the applied font because when I create my new
style the type of this option is variant/long instead of variant/long"

That Long, as I said, is the InDesign constant (also called an "enum") for idNothing. When you create a new character style without having text selected, InDesign does not define the applied font attribute of the character style.

re: "the parent information is not necesarry i think"

No, parent is not necessary, and trying to set it could produce an error (it's a read-only property).

re: dependencies

Yes, you'd have to create the based on style before applying it--I create all of the styles first, then work out the based on and next style properties.

Colors are another one--FillColor and StrokeColor.

I'll write more on this soon. I've come down with a miserable cold this week.

Thanks,

Ole
Technical Details
Message-ID: <1de7e78f.3@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <3E5245FF.9050807@comidoc.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,a7f74efca9b23c0b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-19 02:08:03 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: indesign-scripting : Style Creation
Message-ID: <1de7e78f.3@WebX.la2eafNXanI>
Date: Wed, 19 Feb 2003 02:01:28 -0800
References: <3E5245FF.9050807@comidoc.fr>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit