Need help with my FinaleScript for X noteheads

General notation questions, including advanced notation, formatting, etc., go here.

Moderators: Peter Thomsen, miker

kevinmathie
Posts: 38
Joined: Sat Aug 21, 2010 6:16 pm
Finale Version: Finale 27
Operating System: Mac

Post by kevinmathie » Wed Apr 17, 2024 11:52 pm

Hi all!

I need your expert advice. I have a FinaleScript that is almost working, but not quite. Lol. I need help knowing what I'm doing wrong. I'm trying to write something that will quickly change notes to "x" note heads, as that's something I do on a regular basis. This is my first FinaleScript, so I'm sure I'm doing something very basic incorrectly.

Here's the script:

menu item "Utilities/Change/Noteheads..."
click on "X Notehead" near "change to"
hit "OK"


Here's what happens when I run this script. I get the appropriate window, and I see the mouse arrow move to the words "X Notehead" and stop on it briefly, then I see the arrow move to "OK". But on neither place does the mouse "click" so to speak. I've tried the word "select" and that doesn't work either.

So, the arrow is moving to exactly the right places, but just isn't selecting the options when it gets there. I'm sure it's something simple I'm just not doing. Any help and advice would be very appreciated! Thank you!
Mac Mini (M2 Pro), Mac OSX Ventura (13.2.1), Finale 27.3


Bill Stevens
Posts: 673
Joined: Wed Dec 28, 2016 1:37 pm
Finale Version: Using 26, testing 27
Operating System: Mac

Post by Bill Stevens » Thu Apr 18, 2024 2:01 pm

I know nothing about FinaleScript, but with some trial and error I made partial progress by changing this line:

check "X Notehead" near "change to"

::: Bill
Version 26.3 / 27.4 / Mac OS 10.15.5 Catalina
Finale user since the beginning of time.

kevinmathie
Posts: 38
Joined: Sat Aug 21, 2010 6:16 pm
Finale Version: Finale 27
Operating System: Mac

Post by kevinmathie » Thu Apr 18, 2024 4:35 pm

Bill, that's fantastic! Thank you! Yes, that works for that line.

Now, I just need to figure out how to get the script to click on "OK" instead of hovering above it. haha!
Mac Mini (M2 Pro), Mac OSX Ventura (13.2.1), Finale 27.3

User avatar
motet
Posts: 8301
Joined: Tue Dec 06, 2016 8:33 pm
Finale Version: 2014.5,2011,2005,27
Operating System: Windows

Post by motet » Thu Apr 18, 2024 7:57 pm

Try

Press "OK"

rather than clicking.

kevinmathie
Posts: 38
Joined: Sat Aug 21, 2010 6:16 pm
Finale Version: Finale 27
Operating System: Mac

Post by kevinmathie » Fri Apr 19, 2024 1:58 am

motet wrote:
Thu Apr 18, 2024 7:57 pm
Try

Press "OK"

rather than clicking.
That's a great suggestion, actually, but ultimately didn't work either. That was a variation I hadn't tried, though!
Mac Mini (M2 Pro), Mac OSX Ventura (13.2.1), Finale 27.3

User avatar
motet
Posts: 8301
Joined: Tue Dec 06, 2016 8:33 pm
Finale Version: 2014.5,2011,2005,27
Operating System: Windows

Post by motet » Fri Apr 19, 2024 2:16 am

This works for me:

Code: Select all

menu item "Utilities/Change/Noteheads..."
check "X Notehead" near "change to"
press "OK"

Bill Stevens
Posts: 673
Joined: Wed Dec 28, 2016 1:37 pm
Finale Version: Using 26, testing 27
Operating System: Mac

Post by Bill Stevens » Fri Apr 19, 2024 12:48 pm

Motet,

Your script doesn't work for me. (Probably a Windows vs. Mac issue.) As with Kevin, it stalls at the final OK. I tried some of the pre-programmed scripts and they all acted the same.

Not a big deal since all it needs is a Return to finish the script.

::: Bill
Version 26.3 / 27.4 / Mac OS 10.15.5 Catalina
Finale user since the beginning of time.

Post Reply