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

    deepbirch
    Participant

    In emeditor jscript macro, How can I select A from B. A and B is the word I want to found.
    belowed text I want to select from A to B
    ex) dfdefdsfesdfefsdfesdfef A dfesdfefsdfdfesdfefsdf
    sdfesxdfewdfsfss dfesdfesdfesdfesdfsesdfesdf
    sdfedefefsfesfsefdsffesdfefsdfefsfsdfedsfsefsdfsefsdf
    sdfesdfe B
    dfdf efdfe

    #5956

    Yutaka Emura
    Keymaster

    deepbirch wrote:
    In emeditor jscript macro, How can I select A from B. A and B is the word I want to found.
    belowed text I want to select from A to B
    ex) dfdefdsfesdfefsdfesdfef A dfesdfefsdfdfesdfefsdf
    sdfesxdfewdfsfss dfesdfesdfesdfesdfsesdfesdf
    sdfedefefsfesfsefdsffesdfefsdfefsfsdfedsfsefsdfsefsdf
    sdfesdfe B
    dfdf efdfe


    document.selection.StartOfDocument(false);
    document.selection.Find("A",eeFindNext | eeFindReplaceCase);
    document.selection.CharLeft(false,1);
    editor.ExecuteCommandByID(4153);
    document.selection.Find("B",eeFindNext | eeFindReplaceCase);
    #5965

    deepbirch
    Participant

    Thank you for your answer.
    It works exactly what I want. ^^

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

You must be logged in to reply to this topic.