Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Opening up thousands of windows #18348
    PaperPlate
    Participant

    Sorry about that. I’m on 14.4.1. I’ll update and report back in a few days.

    Thanks!

    in reply to: v13: Find erroring #11162
    PaperPlate
    Participant

    Thanks Yutaka! You’re the best, as always!

    -JZ

    in reply to: v13: Find erroring #11160
    PaperPlate
    Participant

    This does not seem to be happening to everyone (not everyone has upgraded yet however) in the office, only me. I’ll try reinstalling emeditor.

    Edit: No dice. Reinstalling did not help.

    in reply to: Fixed width as opposed to delimited #8126
    PaperPlate
    Participant

    Interesting, I did not realize that. I believe that will accomplish what I am looking to do.

    Thanks Yut!

    in reply to: Deleting a file #5697
    PaperPlate
    Participant

    Yutaka wrote:
    I don’t know what you mean by “activate a tag”. If you want to select a certain document (tab), then you can do using Documents colleciton and Document.Activate method.

    When you do a “Find in Files” or, use the FindAll.vbee macro, the output in the new tab is formatted with a tag (a link to the file and the line of that file) with a display of the line it found the search parameter on.

    I am wondering if its possible to activate (click) this tag in a macro to jump to that line in the original file.

    in reply to: Deleting a file #5694
    PaperPlate
    Participant

    I’ll just ask it as a bunch of questions, since I did kind of ramble! I did mean the find all macro you listed, though I did retool it a bit (and rewrote it in .js, that is where the confusion came from).

    1) Is it possible to delete a file using EmEditor macros?
    2) Or, possible to delete a file using a plugin?
    3) Can the macro module activate a “tag” in a document?

    Let us say I use the FindAll.vbee macro in the following file using the search string, “if”

    If a == b
    ElseIf b > 1
    Message “Hello world!”
    End
    End // If
    #—-

    FindAll would give me:

    c:/filename/etc/etc/etc.etc(1): If a == b
    c:/filename/etc/etc/etc.etc(2): ElseIf B > 1
    c:/filename/etc/etc/etc.etc(5): End // If

    Now lets say I edited the text that was displayed after I did the FindAll, on line two to (since “Hello world!” would never message with the current logic):

    “c:/filename/etc/etc/etc.etc(1): If a != b”

    After running the new macro it would compare your original file to the FindAll output you editted, then replace the lines you edited back into your original file, using the tags as references.

    Long post but, is this possible with EmEditor?

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