The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=12&m=472991
Posted By : Andrew Byrne - 3/26/2016 10:11 PM
Hello--I'm wondering if someone can help me with two Finalescript questions. I'm trying to add a footer to each page of some scores, and I can't seem to figure out the correct command to center a line of text at the bottom of each page. Also, is there any way to insert a graphic in the upper corner of each page? Any help would be appreciated!

Posted By : Peter Thomsen - 3/27/2016 12:45 AM
I suppose that the text block has the same contents on each page, like e. g. page number and title, right?

No need to create multiple text blocks.

In that case you only need one text block which you display on multiple pages, e. g. on all pages from Page 2 and onwards.

Peter


Mac Finale, 2012c, 2014d & 2014.5, Dolet 6.6 plug-in, Mac OS X 10.9.5, iMac Intel Core i7, 2.93 GHz, 16 GB RAM


Posted By : Andrew Byrne - 3/27/2016 9:18 AM
Thanks for your reply--yes, I want the same text on each page. Can you tell me what the line of Finalescript should be to achieve this?

Posted By : Peter Thomsen - 3/27/2016 12:11 PM
Sorry, I do not know Finalescript.

But since it is only one single text block, it may be just as fast to, just create that text block - without using Finalescript.

Peter


Mac Finale, 2012c, 2014d & 2014.5, Dolet 6.6 plug-in, Mac OS X 10.9.5, iMac Intel Core i7, 2.93 GHz, 16 GB RAM


Posted By : Graeme Gilmore - 3/27/2016 6:10 PM
Here is a script for the text block. It is copied below. It tried to attach the xml file, but that was not allowed. I tried to put it in a ZIP file and upload that folder, but that was also not allowed.


//This script creates a Text block at the bottom of all pages.


//Inserts text, centered at the bottom of the page. The text shown here is one of the inserts ("Text/Inserts/Title"). To use another insert, substitute a different insert for "title." To enter the text directly, substitute the wanted text for everything inside the quotation marks, e.g., "My Bottom Text."
//
//To adjust the location of the text, substitute your own vertical or horizontal position locations for those in the script.
//
//This type of script works well with a shortcut. open the script for editing. At the top check "Show in Menu," then click "Use Shortcut." Either enter a shortcut directly or let Finale pick one.
//
//If you no longer want to see the Message each time the script is run, put a double forward slash in front of the first word, //Message

Message "After clicking OK, be sure the mouse pointer is over the page. The text will first be created where the mouse cursor is located"

//Insert the text
text tool
double click

menu item "Text/Inserts/Title"
menu item "Frame Attributes"
dropdown "All Pages" near "Attach To"
Dropdown "Center" next "Horizontal"
Dropdown "Bottom (Footer)" next "Vertical"
Dropdown "Page Margin" next "Position From"
type 0 next "Horizontal"
type "0" next "Vertical"
click "OK"


Graeme


Finale 2014d v/5030, Windows 7 64-bit Home Premium, GPO, TGTools, Patterson Plug-Ins, JW Plug-Ins


Posted By : Andrew Byrne - 3/28/2016 10:20 PM
Thank you--I appreciate your help!

Posted By : Andrew Byrne - 3/29/2016 9:56 PM
I can't get the double click part of the script to work--everything else works great. Any other commands that you can use to create a double-click?

Posted By : Graeme Gilmore - 3/30/2016 5:02 PM
I did find a slightly awkward work around.

In the script, comment out the double click line by putting 2 forward slashes in front of it. This is to be sure the command is not interacting in some unexpected way.
//double click

Select the text tool and manually double click somewhere on the page of music. Then run the script.
When I did this, the dotted rectangle around where the text would be remained on the screen and the program proceeded to fill it as though it had been opened from within the script.


Why is the double click not working? I don’t know. It is is a recognized Finalescript command.
The only thing I can suggest is that you be sure the mouse is somewhere over the page of music as soon as you close the message. If it is in the window, but not over the image of the page of music, the program doesn’t understand and aborts.

Good luck


Graeme


Finale 2014d v/5030, Windows 7 64-bit Home Premium, GPO, TGTools, Patterson Plug-Ins, JW Plug-Ins


Posted By : Andrew Byrne - 3/30/2016 10:25 PM
Thanks--I'll try that.