Add or modify New from Template files

Discussions about our next-generation scoring application, Dorico.
Post Reply
benwiggy
Senior Member
Posts: 1868
Joined: Wed Dec 14, 2016 8:09 pm
Contact:

Add or modify New from Template files

Post by benwiggy » Tue Jun 19, 2018 2:32 pm

Is it possible to add to, or modify, the template documents in "New from Template"? I've searched my entire drive for the names of those files, and can't find anything, even hidden or inside packages. (I could just create a folder of Dorico stationery files in the Finder, but it would be nice to have the menu function.)

(I'd be surprised if this hasn't been asked before, but I could find anything relevant.)
MacMini 2018, 3GHz i5, 32Gb RAM | MacBook Pro 2014, 2.2 GHz i7 | Garritan Personal Orchestra 5
Ancient Groove Music

User avatar
pianoleo
Grand Senior Member
Posts: 7380
Joined: Wed Oct 19, 2016 11:17 am
Location: London, UK
Contact:

Re: Add or modify New from Template files

Post by pianoleo » Tue Jun 19, 2018 2:56 pm

Ben, I believe you're on Mac.
Alt+Cmd click your Applications Folder and find Dorico 2.
Right click on it and Show Package Contents.
The open Contents > Resources and scroll down. You should find a file called templates.xml

If you have a particularly cavalier attitude, then copy this file and store it somewhere safe. Then open the original in a decent text editor (like TextWrangler). I was unable to create a new template that actually worked in Dorico 2, but was able to alter various things in existing templates, like changing the Solo Piano template into a Solo Harpsichord template.

TL;DR - This file is not designed to be tweaked by users. Edit it at your own risk. Terms and conditions apply. The value of your investment may fall.
Pianist/accompanist/engraver/arranger
2019 Macbook Pro 16" 2.3gGHz 8-core i9, 32GB RAM,
2015 Macbook Pro 13" Retina 3.1GHz dual-core i7, 8GB RAM; running Sibelius Ultimate, Logic Pro X, Dorico Pro 3.5 etc.
& 2017 HP ZBook Studio G3 15.6” UHD quad-i7, 16GB RAM, Windows 10 Pro
Sibelius user since Sibelius 7 (Acorn, 1997), Ex-Sibelius user since Dorico 1.0

User avatar
Daniel at Steinberg
Moderator
Posts: 17108
Joined: Mon Nov 12, 2012 10:35 am
Contact:

Re: Add or modify New from Template files

Post by Daniel at Steinberg » Tue Jun 19, 2018 2:57 pm

The templates are driven from a file called templates.xml buried inside your Dorico application bundle. I wouldn't recommend attempting to change the contents of that file, and most importantly, if you do, it may cause problems when you later try to install an update, unless you first restore the original version of the file. The format of the XML file is also undocumented as it is not intended for modification by end users.

benwiggy
Senior Member
Posts: 1868
Joined: Wed Dec 14, 2016 8:09 pm
Contact:

Re: Add or modify New from Template files

Post by benwiggy » Tue Jun 19, 2018 4:53 pm

Useful safety tips! I might take a peek out of curiosity, but I'll take the answer as "No."
MacMini 2018, 3GHz i5, 32Gb RAM | MacBook Pro 2014, 2.2 GHz i7 | Garritan Personal Orchestra 5
Ancient Groove Music

User avatar
pianoleo
Grand Senior Member
Posts: 7380
Joined: Wed Oct 19, 2016 11:17 am
Location: London, UK
Contact:

Re: Add or modify New from Template files

Post by pianoleo » Tue Jun 19, 2018 5:02 pm

The contents of the XML file is entirely human-readable - it looks like this:
Image

What Mr Spreadbury said about causing "problems when you later try to install an update" is beyond my knowledge, so it's probably advice best heeded.

My preference is to set up a score the way I want it *once*, and then save it somewhere safe as string-quartet-template.dorico, or p-v-score-template.dorico, or whatever it is. When I start work on another similar project, I make a duplicate of my own "template" and start work from there.
Pianist/accompanist/engraver/arranger
2019 Macbook Pro 16" 2.3gGHz 8-core i9, 32GB RAM,
2015 Macbook Pro 13" Retina 3.1GHz dual-core i7, 8GB RAM; running Sibelius Ultimate, Logic Pro X, Dorico Pro 3.5 etc.
& 2017 HP ZBook Studio G3 15.6” UHD quad-i7, 16GB RAM, Windows 10 Pro
Sibelius user since Sibelius 7 (Acorn, 1997), Ex-Sibelius user since Dorico 1.0

Saxer
Junior Member
Posts: 178
Joined: Wed Mar 08, 2017 7:54 pm
Contact:

Re: Add or modify New from Template files

Post by Saxer » Tue Jun 26, 2018 9:11 am

I was looking for the template files on my computer too.

I'd love to have a 'user templates' folder and a 'save as template' function in the file menu. If possible with an included 'show user folder in Windows/Mac OS'-button to be able to copy user templates from one computer to another. Kind of a luxury wish but hey, it would help. :-)

User avatar
Daniel at Steinberg
Moderator
Posts: 17108
Joined: Mon Nov 12, 2012 10:35 am
Contact:

Re: Add or modify New from Template files

Post by Daniel at Steinberg » Tue Jun 26, 2018 9:21 am

It's definitely something we plan to do in the future.

gratkowski
Junior Member
Posts: 97
Joined: Wed Aug 31, 2016 10:21 am
Contact:

Re: Add or modify New from Template files

Post by gratkowski » Sun Mar 29, 2020 3:47 pm

I would love to have the user template folder too...

Post Reply

Return to “Dorico”

Who is online

Users browsing this forum: dankreider, hdeyoung, PjotrB, sspharis, Stephen Taylor and 4 guests