Save preset to specific directory
-
I'd like to save the current preset to a specific folder in the User Presets directory, and have its name taken from a user input to a label. I figured out the label part already. The folder structure is:
User Presets > User
How can I direct
Engine.saveUserPreset(userlabel);
to this specific subfolder?
And how to check if a file with such a name already exists?
-
@tomekslesicki dont you just pre-pend the label to your preset path?
-
@Lindon I think the question is - how can I put the path into the script? :-)
-
Ok, I just figured it out, thank you!
For everyone looking for this in the future, you just need to include the path in the
userlabel
part of the script above.
-
@tomekslesicki or you can pass a File object into the method.