Is this possible? Batch updating RPTOK files
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Cave Troll
- Posts: 58
- Joined: Sat Aug 17, 2019 3:49 pm
Is this possible? Batch updating RPTOK files
I've found a problem in a Maptool framework I'm building and I need to redefine a few properties. Is it possible to modify values in existing properties via macros in RPTOK files already saved? or do i have to bring the previously saved tokens onto a map, update them, and then save them all, overwriting their previous incarnation?
Re: Is this possible? Batch updating RPTOK files
It's possible to edit the xml files in the zip tokens (just add .zip to see context file), but you'll need the know how to do that. It's easier to bring in to MapTool and run a macro that will edit them. If it's a token type change needed, that will affect all the tokens, but you need to resave them after that.
If you want to edit the properties beyond the property type, like the values within, running a macro vs all the selected tokens is pretty easy.
If you want to edit the properties beyond the property type, like the values within, running a macro vs all the selected tokens is pretty easy.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
-
- Cave Troll
- Posts: 58
- Joined: Sat Aug 17, 2019 3:49 pm
Re: Is this possible? Batch updating RPTOK files
There's no macro command or function that will Save an RPTOK, overwriting an existing file, is there?
EDIT
Scratch that ... I just figured out this is not needed. I can Select all the tokens that need to be re-saved, right-click, select 'Save ...', select 'No' at the prompt when asked if I want a dialog box for each selected token, and then hit the 'Save' button at the dialog box.
Just wanted to share this for posterity. I love being able to save these in a batch.
EDIT
Scratch that ... I just figured out this is not needed. I can Select all the tokens that need to be re-saved, right-click, select 'Save ...', select 'No' at the prompt when asked if I want a dialog box for each selected token, and then hit the 'Save' button at the dialog box.
Just wanted to share this for posterity. I love being able to save these in a batch.