#11465
Yutaka Emura
キーマスター

gmk 様

いつも EmEditor Professional をお使いいただき、誠にありがとうございます。

マクロを使うと可能です。具体的には、次のようになります。この例は、アクティブな1つのファイルについて、そのファイルの拡張子を除くファイル名で a という文字列を置換します。

n = document.Name.lastIndexOf( “.” );
s = document.Name.substr(0, n);
document.selection.Replace( “a”, s, eeReplaceAll );

お試しいただけると幸いです。
どうぞよろしくお願い申し上げます。