Possible to include presets without the .preset extension?
-
From the documentation:
"If you export a project it will embed all .presets found in the projects UserPresets directory into the plugin. "
Would it be possible to embed all files found in the projects UserPresets directory, not only files with the extension .preset?
-
@ulrik a what's the goal?
-
@d-healey said in Possible to include presets without the .preset extension?:
@ulrik a what's the goal?
I have 4 different kind of presets in current project (4 different extensions), it would be great if all presets were embedded and extracted at the right position when the user open the plugin for the first time.
or is there another way except to script it in an installer?
-
@ulrik if you already have the custom presets written in your script you could use
File.writeObject()
to create them into the preset folder -
@Matt_SF said in Possible to include presets without the .preset extension?:
@ulrik if you already have the custom presets written in your script you could use
File.writeObject()
to create them into the preset folderUnfortunately the presets are already written files on the hard drive
-
@ulrik Then you'll need to use a post install script to put them in the right location after installation.
-
@d-healey said in Possible to include presets without the .preset extension?:
@ulrik Then you'll need to use a post install script to put them in the right location after installation.
Yes I understand, that's why I have this feature request