The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=12&m=380201
Posted By : Jon Burr - 10/2/2012 11:45 AM
I'm trying to script the changing of noteheads.

In Utilities/Change/Change Noteheads, a dialog comes up, and entering the keystrokes "œ" (option-Q) and "˙" (option-h) get the desired results for quarter- and half- noteheads, respectively.

The script below looks like it's working, but then doesn't do anything.

menu item "utilities/change/noteheads"
check "Selected Notehead"
tab
type "œ"
tab
press "OK"

Neither does this:

menu item "utilities/change/noteheads"
find "All Noteheads"
change "Selected Notehead"
tab
type "œ"
tab
press "OK"

I'm missing something in the syntax. How does Finale script address multiple radio buttons and a text entry field? What is the syntax?

Posted By : gogreen - 10/2/2012 8:57 PM
I'm not at my computer with Finale, but are you using the exact names of the menu items in your script?


Arthur J. Michaels

www.arthurjmichaels.com

Finale 2000, 2001, 2003, 2005, 2006, 2007, 2011b.r2 (currently using 2011b.r2)
Core i7 860 @ 2.80 GHz, 8.0 GB RAM, Windows 7 Home Premium x64 SP 1
Sonar X1 Essential
Garritan COMB2, Sonatina Symphonic Orchestra, Aria Player 1.504, Audacity 2.0.1
Dell 2408 WFP, 1920x1200
M-Audio Delta Audiophile 2496
M-Audio Keystation 88es, Casio WK-3000
Logitech Z-2300 speaker system
Brother HL-5150D printer
AKG K-240 Studio headphones


Posted By : Jon Burr - 10/3/2012 11:32 AM
Yes - the issue is not the menu item names, but how to address the options in the dialog

Posted By : Kelby - 10/25/2012 1:09 PM
this is my script. Should work on win or mac

menu item "utilities/change/noteheads"
radio "Selected Notehead"
type "œ" near "Selected Notehead:"
press "OK"


Kelby
 
"Talent Borrows, Genius Steals" Igor Stravinsky
Mac and PC Finale user since version 3.5+