🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8586

Re: Script that can convert character attribs to character stylesheets

#8586
From: Peter_Kahrel
Date: Wed, 11 Oct 2006 18:58
14 lines
1085 bytes
Terry,

All it takes to find characters from your math font and apply a character style to them is this addition to the script:

      attr2style( 'appliedFont = "Mathematical Pi"' , '1' );




This creates a character style called 1, sets the font to your math font, and the remainder of the script applies this style to all the characters from that font.

The only hint that will have any long-term results is to learn how to script.

Peter
Technical Details
Message-ID: <3bc1cee8.10@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc1cee8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9f7c3ecb4b002363
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Peter_Kahrel@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Script that can convert character attribs
 to character stylesheets
Message-ID: <3bc1cee8.10@webcrossing.la2eafNXanI>
Date: Wed, 11 Oct 2006 11:58:11 -0700
References: <3bc1cee8.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing