Page 1 of 2

Tokens

Posted: Wed Oct 19, 2016 4:47 pm
by sidebysidebyside
Is there a list somewhere of available tokens that can be used? Also do you imagine it would be possible in the future to define custom tokens?

Re: Tokens

Posted: Sun Oct 23, 2016 1:19 am
by Daniel at Steinberg
Page number: {@page@}
Layout name (i.e. shown in the Layouts panel in Setup mode): {@layoutname@}
Player names: {@playernames@}
Player list: {@playerlist@}

Fields from the 'Project-wide' page of File > Project Info:
{@projecttitle@}
{@projectsubtitle@}
{@projectdedication@}
{@projectcomposer@}
{@projectarranger@}
{@projectlyricist@}
{@projectartist@}
{@projectcopyist@}
{@projectpublisher@}
{@projecteditor@}
{@projectcopyright@}
{@projectworknumber@}
{@projectcomposerdates@}
{@projectcompositionyear@}
{@projectotherinfo@}

Fields from the per-flow pages of File > Project Info (you get the value for the current flow at the start of the first music frame on the page on which the token is used):
{@flowtitle@}
{@flowsubtitle@}
{@flowdedication@}
{@flowcomposer@}
{@flowarranger@}
{@flowlyricist@}
{@flowartist@}
{@flowcopyist@}
{@flowpublisher@}
{@floweditor@}
{@flowcopyright@}
{@flowworknumber@}
{@flowcomposerdates@}
{@flowcompositionyear@}
{@flowotherinfo@}

Tokens can only be used in text frames, not in text items you create with Shift+X.

Re: Tokens

Posted: Sun Oct 23, 2016 1:49 am
by Derrek
Wish I could check the Thank You icon more than once for this!

Re: Tokens

Posted: Sun Oct 23, 2016 2:32 am
by sidebysidebyside
Thank you, that's very helpful!!

One more thing though, I wanted to have the flow title in all caps on the first page and then normal for subsequent page headers. It would be really useful to have capitalisation options in the font/paragraph styles dialogs.

Re: Tokens

Posted: Tue Oct 25, 2016 8:57 am
by sidebysidebyside
On the topic of tokens: I'm currently writing a short musical with 8 songs and some incidental music. There aren't many standard conventions when it comes to musical score layouts, but something common to many MTI scores is song page numbers in the header of each song, with the running page numbers in the footer.

i.e

"Opening Number"
"2. Opening Number"
"3. Opening Number"

"Hey, It's Song Number Two"
"2. Hey It's Song Number Two"

Currently, I can't see any way to do this, so would it be possible to add something like [@flowpage@}?

Re: Tokens

Posted: Tue Oct 25, 2016 1:02 pm
by Daniel at Steinberg
So you want two different sets of page numbers? The total number of pages in the layout, and the current page count within a specific flow?

Re: Tokens

Posted: Tue Oct 25, 2016 1:14 pm
by sidebysidebyside
Yes :D

That and capitalisation options and I would be in header heaven.

Re: Tokens

Posted: Tue Oct 25, 2016 3:54 pm
by pianoleo
I'll second this request, please!

Re: Tokens

Posted: Tue Oct 25, 2016 5:23 pm
by Daniel at Steinberg
OK, I'll make a note of this and we'll see what we can do.

Re: Tokens

Posted: Tue Nov 08, 2016 6:04 pm
by lbuckley
Is there one for instrument name that I can use in my parts layout? It may be my fault—still learning—but the instrument names in the score don't appear in the parts automatically.

Re: Tokens

Posted: Thu Nov 10, 2016 3:17 pm
by Derrek
Being able to put the Part Name in the header for each page (perhaps larger on page 1) makes lots of sense.

Re: Tokens

Posted: Thu Nov 10, 2016 4:20 pm
by tonywardarts
I expanded this topic into a request for an enhanced Engrave Menu (viewtopic.php?f=246&t=105524)... Hope you don't mind, and thanks for inspiring!

Re: Tokens

Posted: Thu Nov 10, 2016 4:50 pm
by Robby Poole
Can I add a request of orchestrator (sp?) in the Project info. Some music (e.g. Pictures at an Exhibition) is written by one composer, then later orchestrated by someone else. I think that is different enough from arranger to merit its own subcategory.

Robby

Re: Tokens

Posted: Thu Nov 10, 2016 6:50 pm
by tonywardarts
Robby Poole wrote:Can I add a request of orchestrator (sp?) in the Project info. Some music (e.g. Pictures at an Exhibition) is written by one composer, then later orchestrated by someone else. I think that is different enough from arranger to merit its own subcategory.
Robby, I see your point but I think, given that the Project/Flow Info is responsible not so much for the recording of contributions by artists but for the function of inserting this information into the score, the Arranger field is sufficient for this task if noted properly, e.g., "orchestrated by Robby Poole," unless an arranger and orchestrator are involved simultaneously (in which case, you'd be better off entering this text freehand in the frame anyway).

PS: Gosh, that was a long sentence.

Re: Tokens

Posted: Thu Nov 10, 2016 7:10 pm
by Robby Poole
I do agree Tony, the project info is really only for inserting information into the score. And I do agree that a work around does exist. My only thought was, if they have time, and if it's easy to do, it would be nice to have it.

But in thinking some more about your post.... I guess either way, I'd have to create a new text frame to add it into the score even if it was in the project info. So I guess you are correct..... Whether I add a text frame that says {@projectOrchestator@} or "Orchestrated by XXXXX" really there is not much of an advantage to be gained by having it in the project info. Unless maybe there is some more things later to come with the Project Info?

Robby

Re: Tokens

Posted: Thu Nov 10, 2016 7:28 pm
by tonywardarts
Robby, I wonder if it would be too cryptic/cold/Vulcan to swap the Arranger field for three "Contributor" fields; that way, you can enter their info as needed, then insert tokens to best reflect their contributions, e.g.:

{@ProjectComposer@}
{@ProjectContributor1@}
{@FlowContributor1@}

becomes

Modest Mussorgsky
orch. Robby Poole
ed. Tony Ward

(I would not presume to edit your work, BTW) =)

Re: Tokens

Posted: Thu Nov 10, 2016 9:06 pm
by Derrek
You would not necessarily need a separate frame to add an orchestrator credit. Text frames can have multiple tokens on multiple lines.

Re: Tokens

Posted: Thu Nov 10, 2016 10:45 pm
by Robby Poole
Tony and Derrek, those are great suggestions.

@Tony - I like it, because contributor could be a lot of things, and it gives room for additional things that I have yet to think about. For instance, I never even consider Editor as something that someone might want to add.

@Derrek - Very true, it would be easy to add it under the already existing token in another frame.

Robby

Re: Tokens

Posted: Thu Nov 10, 2016 10:47 pm
by Robby Poole
Another token I would like to see added would be Act and Scene. That way I can add token text, and Dorico would draw from the Project Info to add the information appropriately.

Robby

Re: Tokens

Posted: Thu Nov 10, 2016 11:39 pm
by Michael Horton
Could we please also have tokens for fileDate, fileName, filePath or near equivalents? Not just the composition date information from Project Info, but information drawn from the current file. I did find Print > Annotations > Date and time, but that offered no control over text styles or placement and also included the entire file path - which is an option I would want at some times but not at others.

For the existing date and time annotation, is there any control over its format? I'm currently seeing this "2016-11-11-093014" - which is the date format from my Mac OS System Preferences, but definitely not my preferred time format.

Re: Tokens

Posted: Fri Nov 11, 2016 2:33 am
by Daniel at Steinberg
Thanks for the suggestions in this thread, more or less all of which are reasonable. We'll see about things like act, scene, orchestrator, etc. in due course.

Michael, your requests for file/date tokens are also eminently reasonable and we'll see about adding them in due course.

Re: Tokens

Posted: Sat Dec 10, 2016 3:51 pm
by Peadey
A small request, if possible: {@flownumber@} or something like this. A counter from the first to the last flow (automaticly). Thank you.

Re: Tokens

Posted: Sat Dec 10, 2016 4:27 pm
by Alain LeBlond
A request...

When creating a text box, could we have a «right click» listing of all tokens available ?

Re: Tokens

Posted: Mon Dec 12, 2016 12:01 am
by steveparker
Please could we have {@projecttotalpages@} and {@flowtotalpages@}?
I like page numbers in the 2/6 format. It's useful if this updates automatically.

Re: Tokens

Posted: Mon Dec 12, 2016 12:53 am
by Daniel at Steinberg
These are on our wish list.