module

Baileywiki Mass Edit

Endorsements
0
Installs
4.16%
Comments
0
Latest version1.66.0
Minimum Core11
Compatible Core11
Last updated1 week ago
Created1 year ago
Authors
Languages English
Systems All systems
Project source Project URL

Baileywiki Mass Edit

FoundryVTT module for searching and editing multiple placeables at the same time and storing them as presets to be re-used.


Mass Edit is now Baileywiki Mass Edit! See the announcement in the video below. As part of the transition to the Baileywiki family of content, Mass Edit will be converting to entirely for free. Enjoy!

Baileywiki Mass Edit

 

Note that all keybindings referenced bellow can be changed via 'Configure Controls'

Recommended modules:

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

Editing

Select the placeables you wish to edit and press 'Shift+E'.

You will be presented with the following modified 'Configuration' window:

image

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.

simpleEdit

Search

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: *

  • Goblin*
  • *Goblin
  • *Go*n*

simpleSearch

Copy/Paste

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.

copytPaste

Presets

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. Alternatively you can drag in a placeable from the canvas onto the form to create a preset from it.

image

The window can also be opened using Scene controls

image

and a keybind (Shift+X by default)

image

Short video clip: https://youtu.be/MRjHXc3MJWA

Adding/Subtracting

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.

addSubtract

Text fields will instead append or remove the entereed text from all selected placeables. By default appending will be done to the end of the string, but this can be changed by adding >> to the start of the field.

Appended to the end: image

Appended to the start: image

Brush Tool

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

Permission Editing

Note, Token and Actor forms will contain a 'Permissions' header button allowing you to quickly change access permissions.

Permissions

History

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.

History

Macro Generator

Using the selected fields the module will generate simple macros that will update, toggle, delete, or open Mass Edit forms.

Target

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 Search is 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 Tagger is selected. Define a comma separated list of tags to be used in the search.
    • Must Match - A sub-menu made available when Tagger is selected. Select whether any one (Any Tag) or all (All Tags) tags must be contained within the document for a successful match.

Scope

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

Action

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 Toggle is 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 Update or 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.

Example video:

Example Video

The video bellow shows off Mass Search and Edit being used on various placeables:

Randomization

Randomize any numerical, color, text, image, drop-down, or coordinate values.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x