- AuthorPosts
- October 24, 2023 at 6:21 am #29513spirosParticipant
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?October 24, 2023 at 6:29 am #29514Yutaka EmuraKeymasterIn 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.
October 24, 2023 at 10:24 am #29516Patrick CParticipantWow, 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!
October 24, 2023 at 10:36 am #29517Patrick CParticipantThough just noticed a shortcoming: Macro shortcuts are not or only partially preserved 😐
October 24, 2023 at 10:13 pm #29520spirosParticipantFor some reason it does not seem to work for me.
https://ibb.co/QP0zZ4S
https://ibb.co/JnPMHmWCopy/pasting outputted something like
D:\Documents\My Macros\linkifySP.jsee 0x00000000
D:\Documents\My Macros\linkify.jsee 0x00000000October 25, 2023 at 1:26 am #29521Patrick CParticipantIn 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. - AuthorPosts
- You must be logged in to reply to this topic.