- AuthorPosts
- July 5, 2008 at 4:17 pm #5969deepbirchParticipant
Emeditor’s macro is very powerful!
Thanks in anyway.
I have one question.
I don’t know how to apply macro to all files within folder.
So I always have to do 70times for applying macro to files what I have to change.
I know the macro “Replace in files”. But some time this is not proper for my job.
Are there any way to Run Macro on all files within folder?July 5, 2008 at 7:20 pm #5973Yutaka EmuraKeymasterdeepbirch wrote:
Emeditor’s macro is very powerful!
Thanks in anyway.
I have one question.
I don’t know how to apply macro to all files within folder.
So I always have to do 70times for applying macro to files what I have to change.
I know the macro “Replace in files”. But some time this is not proper for my job.
Are there any way to Run Macro on all files within folder?After you open all files within a folder with EmEditor, do something like this:
docs = new Enumerator( editor.Documents );
for( ; !docs.atEnd(); docs.moveNext() ){
doc = docs.item();
doc.Activate();
// do something with doc
}
July 12, 2008 at 12:41 am #6009deepbirchParticipantThank you for your pormpt response.
I always get great help from emeditor! - AuthorPosts
- You must be logged in to reply to this topic.