garbage from old piece

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

Moderators: Peter Thomsen, miker

Gareth Green
Posts: 173
Joined: Sat Dec 31, 2016 1:27 pm
Finale Version: Finale 26.2
Operating System: Windows

Post by Gareth Green » Fri Feb 24, 2017 10:49 am

I'd quite like to make more use of Finalescript, but I'm still waiting for someone to write an instruction manual (or in my case, a "Dummie's Guide" ... )
Gareth J. Green
FIn26
Win10


User avatar
aldan
Posts: 26
Joined: Tue Jan 17, 2017 2:24 am
Finale Version: latest
Operating System: Mac

Post by aldan » Fri Feb 24, 2017 3:41 pm

Manual is online: http://usermanuals.finalemusic.com/Fina ... Script.htm
You can look at the scripts already made, see how they are done.
It's a programming thing, you type in one command per line, and the available commands are here http://usermanuals.finalemusic.com/Fina ... erence.htm
Think of yourself as Mr. Robot...

I just don't know why some menu commands are missing, and how to access them programmatically (uh, that was a good word... :-)), if it's even possible

Gareth Green
Posts: 173
Joined: Sat Dec 31, 2016 1:27 pm
Finale Version: Finale 26.2
Operating System: Windows

Post by Gareth Green » Fri Feb 24, 2017 4:33 pm

aldan wrote:It's a programming thing, ...
Precisely; if one isn't a programmer, it's difficult to know where to start. I've read the instructions as they stand, but they don't mean anything to me.
Gareth J. Green
FIn26
Win10

User avatar
aldan
Posts: 26
Joined: Tue Jan 17, 2017 2:24 am
Finale Version: latest
Operating System: Mac

Post by aldan » Fri Feb 24, 2017 6:13 pm

it's like a "macro"... a series of commands that you usually do one after another, automatized (activated by just pressing a button or selecting a menu option)

In the case of this topic, We would like to do:
1- clear pickup measure
2- select all
3- clear all items
4- delete measure stack
5- open the Add Measures dialog (or add 100 measures, let's say)
( and now getting really fancy...)
6- select first measure
7- open the Edit Key Signature Dialog
8- wait for dialog to close
9- open the Edit Time Signature dialog
10- wait for it to close
11- open the Score Manager at the File Info tab

the commands are listed in the link in my previous post, unfortunately I couldn't find the very first step: "clear pickup", and "add measures", so basically if I have to remember to do something before running the macro, I might as well forget about it and run the hole sequence manually.

Does this clarify things for you a bit?

User avatar
aldan
Posts: 26
Joined: Tue Jan 17, 2017 2:24 am
Finale Version: latest
Operating System: Mac

Post by aldan » Sat Feb 25, 2017 7:27 pm

Ah, with FinaleScript you can select menu items, fill in dialog boxes and all that jazz... It's like the invisible man is handling your computer... :-)
So here's the script:

//start FinaleScript
menu item "pickup measure..."
type 0
button ok
check menu item "Tools/Selection"
select all
clear
delete measure
menu item "add measures..."
type 100
button ok
// end FinaleScript

going back to making music now...:-)

User avatar
MikeHalloran
Posts: 711
Joined: Mon Jan 02, 2017 2:56 am
Finale Version: 27
Operating System: Mac

Post by MikeHalloran » Mon Feb 27, 2017 6:44 pm

Scripts are intimidating ... until you've done a couple successfully and grasp the logic behind the commands. Then they become easy.
Mike Halloran

Finale 27.4.1, SmartScore X2 Pro, GPO5 & World Instruments
MacOS Ventura 14.5 (public beta); 2023 Studio M2 Ultra, 192G RAM, 8TB; 2021 MBAir M1
NotePerformer4, Dorico 5, Overture, Notion 6, DP 11, Logic Pro

Post Reply