FoundryVTT module for searching and editing multiple placeables at the same time.
Support me on Patreon to get access to the the version that supports field Randomization and preset Drag&Drop
Note that all keybinding referenced bellow can be changed via 'Configure Controls'
- Select Tool Everywhere (https://foundryvtt.com/packages/select-tool-everywhere)
- Will allow to select normally un-selectable placeables such as lights and templates
- Multiple Document Selection (https://foundryvtt.com/packages/multiple-document-selection)
- Will enable selection of multiple documents in the sidebar
- Mass Edit will recognise these selection for Actors, Scenes, and Journals
Showcases by Foundry community members
- v1.9.1 covered by BaileyWiki YouTube.
- v1.13.0 covered in German by TomVTT YouTube
- Configure TMFX filters with Mass Edit by BaileyWiki YouTube
Select the placeables you wish to edit and press 'Shift+E'.
You will be presented with the following modified 'Configuration' window:
Common data shared between all placeables will be highlighted as green, differing data as orange, and flags as purple. The newly added checkboxes to the right indicate which fields will be saved on Apply.
In addition to this key-binding Token and Tile HUDs will contain a new button if multiple tokens or tiles are selected which will also open up this modified configuration window.
An alternative to selecting placeables manually is to press 'Shift+F' to open a configuration window which will allow you to perform scene and world wide searches using the selected fields.
Text fields allow the use of wildcards:
Field can be copied from opened Mass Edit forms using 'Ctrl+C'. Data copied this way can be pasted onto any selected or hovered over placeables using 'Ctrl+V'. Each placeable type has it's own "clipboard" from which data will be pasted. You can also paste this data as plaintext in and out of foundry.
Any configuration window opened using the module will have a 'Presets' header button. It will open up a window where you can store currently selected fields and re-use them later.
Preset's window can also be opened using
Shift+X allowing to quickly apply them on any selected placeable.
Numerical fields can be added and subtracted instead of overriding the current value. This can be done by right-clicking the numerical controls in the Mass-Edit form. Green background indicating addition, and red subtraction.
This tool can be activated by clicking the brush icon in the header of Mass Edit forms
Once selected your cursor will be transformed into a brush allowing you click and drag over placeables on the canvas to apply fields selected in the form onto them.
The brush can also be accessed via the Preset window
Note, Token and Actor forms will contain a 'Permissions' header button allowing you to quickly change access permissions.
When enabled in the module settings, updates made to placeables will be tracked and available via Mass Edit forms. These updates can be selected to be applied to the currently open form or copied to the module's clipboard to be pasted on other placeables.
Using the selected fields the module will generate simple macros that will update, toggle, delete, or open Mass Edit forms.
Define the target for the generated macro
ALL- All documents within the selected scope
IDs of Current Selected- IDs of documents are stored within the macro and will be looked up at run-time
Search- A search will be performed within the selected scope using configured fields
Search Fields- A sub-menu made available when
Searchis selected. Enter key-value pairs to be used in the search
Tagger- A search will be performed within the selected scope using Tagger module's 'tags'.
Tags- A sub-menu made available when
Taggeris selected. Define a comma separated list of tags to be used in the search.
Must Match- A sub-menu made available when
Taggeris selected. Select whether any one (
Any Tag) or all (
All Tags) tags must be contained within the document for a successful match.
Limit the scope of documents affected by the macro.
Selected- Only selected documents at macro run-time will be considered
Active Scene- All documents in the currently active scene
World- All documents throughout the game world
The action you want the macro to perform on all documents that matched based on Target and Scope
Update- Updates the documents using the data in the text box
Toggle- Alternates document updates between the data in the two text boxes
Toggle Detection- A sub-menu made available when
Toggleis selected. How should the macro determine whether a particular document has been toggle on or off.
Field Compare- Check if the data within the text box matches the document
Flag- Apply a unique flag to track whether data has been already applied to the document
Open Mass Edit Form- Opens the Mass Edit form (Shift+E)
Delete- Deletes the documents
In addition to the above, if
Toggle are selected you'll also get an option to select the matched documents and/or run another macro. Useful if you have macros that require placeables to be under control for them to execute. For example filters in the Token Magic FX compendium.
Randomization and Add/Subtract operators are supported but will add a dependency on
Mass Edit to be active when the macro is run.
The video bellow shows off Mass Search and Edit being used on various placeables:
At the moment a Patreon exclusive feature.
Randomize any numerical, color, text, image, drop-down, or coordinate values.
Drag out presets onto the canvas to spawn placeables modified using the preset