|
|
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Changing instrument names/abbreviations | Forum Quick Jump
|
| rbeavers Registered Member
Date Joined Oct 2009 Total Posts : 29 | Posted 8/20/2011 10:00 PM (GMT -6) | | Hi,
I'm using Finale 2011 (Mac), and attempting to write a script that combs through a score and changes all the instrument names and abbreviations. I created this score by pulling in parts using Score Merger; it works pretty well, but for some reason, it doesn't pull in all instrument names...only about half of them. So my goal is to wipe out any existing names (if applicable) and replace them.
Here's the script:
Staff tool
// Reed 1 select stave 1 menu item "Staff/Edit Staff Attributes..." press "edit" near "Full Name" clear all type raw " reed 1" button "ok" wait 1 second press "edit" near "Abbr. Name" clear all type raw " rd. 1" button "ok" button "ok"
I'm having two issues with this script:
1. For some mac-related reason which I don't quite understand, I have to use 'type raw' instead of 'type' (which ends up inserting nothing). This works, but instead of 'Reed 1'/'Rd. 1' being inserted, I get 'REed 1'/RD. 1'. Does anyone know why this would happen, and how to fix it?
2. When there *is* an existing name, I want to erase it before inserting a different instrument name - or else I end up with two names. I've tried many variations - Select all, Triple click, Clear all (used in the script above) - and none of them work. In fact, it causes the script to go into some strange loop, where the names are continuously pushed down, as if I were inserting a carriage return. Any ideas?
Thanks, Ryan | Back to Top | |
| James L Registered Member
Date Joined Oct 2009 Total Posts : 46 | Posted 8/21/2011 10:18 PM (GMT -6) | | ok, so here's a fiddly workaround for the first issue.
It seems that the Finalescript has a sticky "shift" key when it types the name in. I even tried capitalising the whole name, as a test, and instead of REED 1, it wrote REED !. The exclamation mark is surely a sign that it's somehow holding down the shift key for too long.
So below is my clunky workaround. The problem is that this workaround going to make your script rather long if every instrument name needs three lines of script.
Anyway, this worked on my system. I'd be keen to hear of any other possible workarounds that might be neater.
Staff tool
// Reed 1 select stave 1 menu item "Staff/Edit Staff Attributes..." press "edit" near "Full Name" press command + "A" delete key type raw "R" press shift type raw "eed 1" button "ok" wait 1 second press "edit" near "Abbr. Name" press command + "A" delete key type raw "R" press shift type raw "d. 1" button "ok" button "ok" Finale 2000, 2004-2011c.r1 Dual 2.0GHz Power PC G5, 3.5GB RAM, OS 10.4.11 MacBook Pro, 2.8GHz, 4GB RAM, OS 10.6.8 Sibelius 5.0-6.2 | Back to Top | | Forum Information | Currently it is Tuesday, December 19, 2023 6:23 PM (GMT -6) There are a total of 403,820 posts in 58,165 threads. In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|