🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #325

Re: Clear text overrides in applescriot for Indesign CS3 on Mac OSX 10.5.6

#325
From: Tynan
Date: Thu, 26 Mar 2009 10:39
17 lines
1401 bytes
right

this is the new bit I've cobbled together from guesswork and hop

//Apamapref
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
app.findTextPreferences.appliedCharacterStyle = app.activeDocument.characterStyles[0];	// [None]

app.findTextPreferences.appliedFont = "Apamapref";
app.changeTextPreferences.appliedCharacterStyle = "Apamapref";

If I stick that inside the loop, it runs ok, it fins all the instances of Apamapref but then removes them, poof gone. If I stick at the very end of the existing code nothing happens

clueless as to what goes on at the mo

outside i best I think? but I'm guessing that there's some sort of 'try' type line to actually act upon the preferences?
Technical Details
Message-ID: <59b86485.22@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b86485.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,eb2cfe05176434d3
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Tynan@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Clear text overrides in applescriot for
 Indesign CS3 on Mac OSX 10.5.6
Message-ID: <59b86485.22@webcrossing.la2eafNXanI>
Date: Thu, 26 Mar 2009 03:39:48 -0700
References: <59b86485.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit