The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=12&m=454703
Posted By : Ward Baxter - 6/4/2015 1:13 PM
This should be a no-brainer, but I haven't been successful with any syntax jumbling. I've tried about 30 combinations with no luck. Suggestions?

search "" [FontName] replace "" [FontName] fixed
search "" [FontName] non fixed size replace "" [FontName] fixed size
search "" [FontName] 10 non-fixed replace "" [FontName] 10 fixed
etc…

Thanks,
~W


Ward Baxter
Finale 2012c (primary), 2014c, 2002 (stability)
TGTools, Forza, Patterson...all the goodies!
OS 10.9.5


Posted By : Kelby - 7/14/2015 3:45 PM
This is ugly, but it is my last resort font replacement script:
///
//source folder "someplace"

//batch process folder
menu item "Document/Data Check/Font Utilities"
check "search for this font"
press "Select" near "Search for this font:"
type raw "B Times Bold"
press "ok"
press "select" near "Replace Font with:"
type raw "Times New Roman"
check "Fixed"
press "ok"
check "Apply Changes to Fonts in Shapes"
press "apply"
press "ok"
//save
//close
///

It calls the Font Utilities menu item and it is quite global.

-K


Kelby Stine
Owner

Fox Burden Music
Compositions, Arrangements, Music Engraving, Gnomes


Posted By : Charles Lawrence - 7/18/2015 6:02 PM
Ward Baxter said...
This should be a no-brainer, but I haven't been successful with any syntax jumbling. I've tried about 30 combinations with no luck. Suggestions?

search "" [FontName] replace "" [FontName] fixed
search "" [FontName] non fixed size replace "" [FontName] fixed size
search "" [FontName] 10 non-fixed replace "" [FontName] 10 fixed
etc…

Thanks,
~W

This worked for me:
 

search [Times New Roman] 14 replace with [Verdana] 8 in staff names

Note that you apparently must supply the font size on both the search and replace fonts, if supplied at all.  I restricted the search/replace to staff names only.  Omit any text such as "" and the script will use the whole text.


"Anything is possible if you don't know what you are talking about!"

 

Intel(R) Core(TM) i7-5930K CPU with 6 dual core processors @ 3.50 GHz (12 threads)

32 GB RAM

Realtek High Definition on board audio
NVIDIA GeForce GTX 980 GPU with 4GB ram

512 GB SSD system disk

Four 4TB and one 1TB internal SATA HD's
Microsoft Windows 8.1 Professional with Media Center x64 Edition, (06.03.9600.00)
Finale versions: 2011b.r2, 2012c.r13, 2014d.v5030

GPO4.02

 

Cakewalk SONAR X3

 

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell


Posted By : Ward Baxter - 11/19/2015 6:39 PM
This is still not possible in Finale 2014.5. As far as I've found, there is no search/replace syntax in Finalescript that can returns fixed size results that does NOT use GUI scripting.


Ward Baxter
Finale 2012c (primary), 2014.5 (testing), 2014d, 2002 (stability) and every version since 3.0
TGTools, Forza, Patterson...all the goodies!
Mavericks, Yosemite/El Capitan (testing), Windows XP (yes, XP)


Posted By : Marko - 12/9/2015 8:03 PM
Charles Lawrence said...

"This worked for me:

search [Times New Roman] 14 replace with [Verdana] 8 in staff names

Note that you apparently must supply the font size on both the search and replace fonts, if supplied at all. I restricted the search/replace to staff names only. Omit any text such as "" and the script will use the whole text."

Thank you, C. Lawrence. Your string worked for me also. Like others' efforts, neither the varying of syntax nor other tweaks had any efficacy. Now that we have something that flys, we might build from your solution. Thanks once more! – mj