How do I search through all Macros for a keyword?
Moderators: dorpond, trevor, Azhrei
How do I search through all Macros for a keyword?
I'm trying to find all references in a project to a given word. How do I search through all macros for it?
MT Framework: Call of Cthulhu 7th fork, D&D 5e Spell Library
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
Re: How do I search through all Macros for a keyword?
Easy enough:
- Save your campaign
- Open the campaign file with a utility like 7-Zip
- Pull out the campaign.xml file
- Load campaign.xml file into a text editor like Notepad++
- Do a search for your keyword.
- The macro content will be within <command> </command> tags.
- The name of the macro will be within <label> </label> tags.
Re: How do I search through all Macros for a keyword?
If you want to search just a lib token, you can use my rpedit drop-in to export all the macros and use something like notepad++ to do a search.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: How do I search through all Macros for a keyword?
IMO, this tool is essential. If you don't have it installed in your campaign, make haste.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."