#6582
snow
Participant

ご要望のものとは少し違いますが…マクロを書いてみました。
もっとシンプルにできるかも。

if (document.name.match(/d+/).length) document.save(document.path + ” + document.name.replace(/d+/, new Array(RegExp.lastMatch.length).join(‘0’) + (1 + Number(RegExp.lastMatch))));