Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5969

    deepbirch
    Participant

    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?

    #5973

    Yutaka Emura
    Keymaster

    deepbirch 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

    }
    #6009

    deepbirch
    Participant

    Thank you for your pormpt response.
    I always get great help from emeditor!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.