I've written a little script that saves the project to a folder along with an extra text file with some metadata to get around the issue of not being able to run shell commands/subprocesses from tvpaint itself. Please know that I learned just enough George scripting to write this script so I might be missing something obvious.
This extra test file is written like so:
Code: Select all
tv_WriteTextFile "Create" fullPath result
One of the artists just pointed me out that when they run this tool, it only seems to ask once per session if they want to "Write to file" or not and that's the choice that they seem to be left with until they close and restart tvpaint, it's like it's remembering their choice for the remainder of the session. This is particularly bad for our use case as if they choose "No" the first time they will be exporting garbage until they restart tvpaint.
Is there any way to either:
a) forcefully ask every time (ie not remembering the choice)
b) not giving the choice to write or not, and forcefully write every single time tv_WriteTextFile is called with "Create"?
Cheers