What is New from Template Browse?
New from Template Browse is a macro that allows one to perform a "new from template" operation after browsing to select the .CDT or .CDR file to use as a template.
This macro uses CorelDRAW's CorelScriptTools.GetFileBox method to browse and select a file. When the dialog opens, it is set to filter for .CDT files. If you wish to start a new document using a .CDR file as the template, then use the drop-down in the lower right hand corner of the dialog to have the dialog filter for .CDR files.
The macro stores the last used folder path in the Registry, and includes a sub that can be used to remove its entries from the Registry.
OK, where's the macro?
JQ_New_from_Template_Browse_Current.zip.
.
Thank you so much! Do you happen to have an X4 version?
Here is a version from X3: JQ_New_from_Template_Browse_X3_Current.zip.
It's worth noting that this macro will not gracefully detect if the user tries to use an invalid file as a template, and the behavior is different in X3 than it is in 2018.
In X3, for example, if you try to use a 2019 file as a template, it will still create a new document (but not based on the selected template). In 2018, attempting to the same does not result in the creation of a new document.
Does this macro remember the last folder location or does it default to 'documents'?
It should be storing the last folder location in a "user" section of the Registry.
Very cool and handy tool (since Corel failed).
I'm glad you find it to be useful.
I agree that it was a mistake to not retain an easy way to select a template by name. I have a similar complaint about the fill pickers.
It's important to be able to search by keywords, and to be able to navigate a collection visually - but that doesn't mean that we shouldn't also have the ability to manually navigate to a folder and select an asset by name.