Glyph(グリフ)検索置換
app.changeGlyphPreferences = NothingEnum.nothing;
app.findGlyphPreferences = NothingEnum.nothing;app.findGlyphPreferences.appliedFont = app.fonts.item("A-OTF 新ゴ Pro M");
app.findGlyphPreferences.glyphID = 7565;
app.changeGlyphPreferences.appliedFont = app.fonts.item("A-OTF 新ゴ Pro M");
app.changeGlyphPreferences.glyphID = 10785;
app.changeGlyph(); //ドキュメント対象
[VBScript]
Set app = CreateObject("InDesign.Application")Const idNothing = 1851876449
app.FindGlyphPreferences = idNothing
app.ChangeGlyphPreferences = idNothingapp.findGlyphPreferences.appliedFont = app.fonts.item("A-OTF 新ゴ Pro M")
app.findGlyphPreferences.glyphID = 7565
app.changeGlyphPreferences.appliedFont = app.fonts.item("A-OTF 新ゴ Pro M")
app.changeGlyphPreferences.glyphID = 10785
app.changeGlyph() 'ドキュメント対象
置換対象
app.changeGlyph(); //ドキュメント対象
frame.parentStory.changeGlyph(); //選択中のフレーム対象
フォント指定したくないんですけど、フォント指定取るとエラーが出ちゃうんですよねー(ーー;)
glyphIDは検索置換パレットに出てくるGID/CIDの数値です。