Reply To: Glyph Find and Replace

#14323121

Thanks Brian,

How silly am I!… I changed the code as follows:

function myFindGlyph(myObject){
app.findGlyphPreferences = NothingEnum.nothing;
app.changeGlyphPreferences = NothingEnum.nothing;
app.findGlyphPreferences.appliedFont = app.fonts.itemByName(“SHREE-DEVXE-0709”);
app.findGlyphPreferences.glyphID = 83;

app.changeGlyphPreferences.appliedFont = app.fonts.itemByName(“SHREE_DEV_OTF_0709”);
app.changeGlyphPreferences.glyphID = 45;
myObject.changeGlyph(true);
app.findGlyphPreferences = NothingEnum.nothing;
app.changeGlyphPreferences = NothingEnum.nothing;
}

Still I get the same error.

JavaScript Error!
Error Number: 33801
Error String: Invalid Find Font
Source: myObject.changeGlyph(false)

This article was last modified on February 8, 2020

Comments (0)

Loading comments...