2007年1月23日 5:19 pm #4032
Participant
それマクロでもってます。
わたしのマクロで良ければ。どうぞ
CloseNotModifiedDoc.jsee
//ドキュメントのIterator拡張
var docs = {
documents : new Enumerator( editor.Documents ),
size : function(){ return this.documents.Count; },
hasNext : function(){ return !this.documents.atEnd(); },
next : function(){ doc= this.documents.item();this.documents.moveNext();return doc }
}
//メイン処理
while( docs.hasNext() ){
var doc = docs.next();
if(doc.Saved){
doc.close();
}
}
できればエディタ本体に内蔵して欲しい機能ですよね。