Hello,
I was checking un answered posts, and cam across this one. I hope I’m not too late.
Another example: PureRef
In this post: Robert thought about using arguments related to PureRef
to save in a custom path on opening. (I didn’t manage to make it work. but… I started to realize something)
When I used to use Prism… It had something called empty workfiles / workfiles presets…
where prism does a simple trick:
- Copy that file into the target location with the proper naming and version.
- Open That file.
I think we can adopted such a simple solution in which we rely on the OS it self to copy/open the app in the correct directory.
Maybe something like:
- If Template workfile per variant is empty fall to the main template workfile.
- if any of wokfile templates are presented:
- add
- if skip is enabled it works as usual (or jump to 4)
- if it’s not enabled. check if there are any files, open the latest
- if it’s not enabled, and there are no files
- get the workfile location and name (task directory/workfile_name_template_version)
- copy workfile template to the task directory, replace the template file name with (task directory/workfile_name_template_version)
- open the file with the given executables.