DTP駆け込み寺

[ 返信 ]

Re: InDesign Javascript 検索置換

var findChara = app.documents[0].findGlyph();
for (i = 0; i < findChara.length; i++) {
findChara[i].select();
app.activeWindow.zoomPercentage = 400;
var yesNo = confirm("置換しますか?");
if (yesNo == true) {
findChara[i].changeGlyph();
} else {
exit();
}
}

3行目以降をこうしてみてはいかがでしょうか…?

[17045] dot (2014/07/09 Wed 16:01)

  1. [17037] InDesign Javascript 検索置換 まる 2014/07/08 13:27
    1. [17040] Re: InDesign Javascript 検索置換 works014 2014/07/09 11:03
    2. [17042] Re: InDesign Javascript 検索置換 we 2014/07/09 14:30
      1. [17054] Re^2: InDesign Javascript 検索置換 works014 2014/07/11 09:04
        1. [17055] Re^3: InDesign Javascript 検索置換 works014 2014/07/11 09:07
        2. [17057] Re^3: InDesign Javascript 検索置換 we 2014/07/11 10:50
          1. [17058] Re^4: InDesign Javascript 検索置換 works014 2014/07/11 12:04 *
            1. [17059] Re^5: InDesign Javascript 検索置換 we 2014/07/11 16:28
              1. [17061] Re^6: InDesign Javascript 検索置換 we 2014/07/11 16:44
    3. [17045] Re: InDesign Javascript 検索置換 dot 2014/07/09 16:01