Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29513
    spiros
    Participant

    From the Menu item Macros, I have a list of macros. However, I changed their path from D: to C:
    Is there any way to batch update this change without removing them and adding them again?

    #29514
    Yutaka Emura
    Keymaster

    In the My Macros list box in the Customize Macros dialog box, you can press CTRL + A and CTRL + C to select all items and copy to the clipboard. You can use EmEditor to replace all D: with C:, then paste back to the list box.

    #29516
    Patrick C
    Participant

    Wow, this is ultra-useful for me because sometimes my Macros end up in a mess and this makes cleaning up a whole lot easier 😃

    Many thanks to spiros for asking the question and Yutaka for answering it!

    #29517
    Patrick C
    Participant

    Though just noticed a shortcoming: Macro shortcuts are not or only partially preserved 😐

    #29520
    spiros
    Participant

    For some reason it does not seem to work for me.

    https://ibb.co/QP0zZ4S
    https://ibb.co/JnPMHmW

    Copy/pasting outputted something like

    D:\Documents\My Macros\linkifySP.jsee 0x00000000
    D:\Documents\My Macros\linkify.jsee 0x00000000

    #29521
    Patrick C
    Participant

    In my case it works fine.

    Copy / pasting outputted

    E:\ProgDB\EmEditor\Macros\Toggle_read_only.jsee \t 0x00000000
    E:\ProgDB\EmEditor\Macros\insert_date_only.jsee \t 0x00000000
    E:\ProgDB\EmEditor\Macros\insert_date_time.jsee \t 0x00000000
    E:\ProgDB\EmEditor\Macros\insert_date_long_time.jsee \t 0x00000000
    E:\ProgDB\EmEditor\Macros\delete_between_bookmarks.jsee \t 0x00000000

    Where \t is the tab character.

    It looks like the \t and 0x00000000 can be omitted from the list.
    Pasting allows me to run the Macro, but when trying to edit them I get your “The following files do not exist error”. → Restarting EmEditor fixes this.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.