JW Lua

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

Moderators: miker, Peter Thomsen

Post Reply
User avatar
miker
Posts: 4304
Joined: Fri Mar 13, 2009 4:28 pm
Finale Version: Finale 26
Operating System: Mac

JW Lua

Post by miker » Mon Aug 26, 2019 9:28 pm

Is JW Lua out of beta? I googled it, but it took me to a page where all of the options were beta versions.
Finale 26 | SmartScorePro X2
Mac OS 10.13 High Sierra
Copyist for Barbershop Harmony Society

Re: JW Lua

by Sponsor

Forum Sponsor
 

User avatar
michelp
Posts: 1553
Joined: Fri Jul 25, 2003 3:35 pm
Finale Version: 25.5, 2014.5
Operating System: Mac

Re: JW Lua

Post by michelp » Mon Aug 26, 2019 9:34 pm

JW Lua Beta 0.54 is the latest version. As you probably found out, it's available here : http://www.finaletips.nu/index.php/down ... ta-version in various versions (Mac, PC, 32 bit, 64 bit).
Michel
MacOsX 10.11.6, Finale 25.5, 2014.5, Mac Mini Intel Dual Core i7 3Ghz, 16 Go Ram. Azerty kb. Full TGTools. MOTU Midi Express XT USB, Roland Sound Canvas SC-88vl, MOTU Audio Express. 2 monitors (27' pivot, 24')

Nick Mazuk
Posts: 154
Joined: Tue Jul 03, 2018 12:29 am
Finale Version: Finale 26
Operating System: Mac

Re: JW Lua

Post by Nick Mazuk » Tue Aug 27, 2019 12:04 am

JW Lua is technically still in beta, though with the exception of a couple known bugs and a few missing features, it's very complete and stable. For all intents and purposes, you can consider it out of beta.

The only real issue right now is that not a ton of people have adopted it. For the most part, there's a few places you can find scripts. Other than that, you'll have to code your own.

https://nickmazuk.com/Resources/JWLua
https://elbsound.studio/jw-lua-scripts.php
http://finale-logiciel-aide-gravure-mus ... 5#indexlua
http://jwmusic.nu/jwplugins/wiki/doku.p ... ickscripts
http://jwmusic.nu/jwplugins/wiki/doku.p ... ullscripts

If you're interested in learning how to code in JW Lua, I'm in the middle of creating a series on both OFNOTE and my YouTube channel, so choose the medium you prefer.

http://www.rpmseattle.com/of_note/learn ... on-to-lua/
https://www.youtube.com/watch?v=q0pRaD9 ... dex=2&t=0s

And if you just want a quick guide to getting started with JW Lua, check out this article:

http://www.rpmseattle.com/of_note/final ... th-jw-lua/
Last edited by Nick Mazuk on Tue Aug 27, 2019 2:33 pm, edited 1 time in total.
Nick

User avatar
HaraldS
Posts: 142
Joined: Mon Dec 19, 2016 11:46 am
Finale Version: 25.5
Operating System: Windows

Re: JW Lua

Post by HaraldS » Tue Aug 27, 2019 4:51 am

Nick Mazuk wrote:The only real issue right now is that not a ton of people have adopted it.
Very true. It's quite a learning curve, but it's absolutely worth it.
Finale 3.0-25.5, German edition, Windows 7
mostly hardware synths/keys, Cubase 7 / trombonist, pianist, conductor / Recklinghausen, Germany

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

Re: JW Lua

Post by motet » Tue Aug 27, 2019 5:50 am

I look forward to your tutorials, Nick. Thanks!

User avatar
zuill
Posts: 2823
Joined: Sat Dec 10, 2016 9:35 pm
Finale Version: Finale 2011-v26.2
Operating System: Windows

Re: JW Lua

Post by zuill » Tue Aug 27, 2019 6:27 am

I hadn't looked at the Lua plugin in a long time, so I checked one out concerning an issue that I have a fix for, but most users are not aware how to really fix the issue.

The plugin is one listed on the elbsound website Lua script page. It is number 2, and addresses the Jazz Font issue where the dot is too far to the right on a dotted eighth rest. The plugin moves the dot just fine, but doesn't address the real issue. Once the file is saved and then closed and reopened (or if you Revert to the last saved version), the dot goes back to where it was. So, the plugin is useless, as the one step needed to "fix" the dot so it's new position is permanent is not included in the plugin.

If I knew how to repair the plugin myself, I would. However, I don't have that knowledge.

Zuill
Windows 7, Finale 2011-v26.2
"When all is said and done, more is said than done."

User avatar
elbsound
Posts: 139
Joined: Wed Aug 03, 2016 10:06 am
Finale Version: Finale 2014.5
Operating System: Windows

Re: JW Lua

Post by elbsound » Tue Aug 27, 2019 9:56 am

Once the file is saved and then closed and reopened (or if you Revert to the last saved version), the dot goes back to where it was.
That's (probably) the Finale bug, that JW Lua can't fix either. It just seems to not save the position in the file.
It looks like a similar bug in Fin2014/2014.5 where articulations were (sometimes) hidden in the parts when reopening the file: when saving the file they were only hidden in the score, not in the parts. I think that one was fixed in v25.
Have you checked the dot saving problem also in v25 and v26?
JW Lua is very complete and stable
I can confirm this. Although there are some open issues most problems can be solved with JW Lua. An old bug list from 2017 (meanwhile there are a few more bugs) can be found here: https://elbsound.studio/download.php?f= ... shList.pdf

Our Perfect Layout and House Style Plug-in (which was developed for automatically creating the Music Font Comparison and for doing the automatic font conversion for our music font package) use nearly all available JW Lua classes. So yes, you can solve nearly everything in Finale with JW Lua.

If you have a coding problem with JW Lua, write to the JW Lua mailing list.

User avatar
michelp
Posts: 1553
Joined: Fri Jul 25, 2003 3:35 pm
Finale Version: 25.5, 2014.5
Operating System: Mac

Re: JW Lua

Post by michelp » Tue Aug 27, 2019 11:18 am

For regular users (who don't intend to create new scripts), JW Lua is simple to use. Just place the existing scripts that you found in the appropriate folder, restart Finale and you are ready to go. There are dozens of useful scripts out there (look at Nick Mazuk's post).
Michel
MacOsX 10.11.6, Finale 25.5, 2014.5, Mac Mini Intel Dual Core i7 3Ghz, 16 Go Ram. Azerty kb. Full TGTools. MOTU Midi Express XT USB, Roland Sound Canvas SC-88vl, MOTU Audio Express. 2 monitors (27' pivot, 24')

User avatar
Michel R E
Posts: 397
Joined: Sat Dec 10, 2016 9:16 pm
Finale Version: Finale 2012, 25, 26
Operating System: Windows

Re: JW Lua

Post by Michel R E » Tue Aug 27, 2019 2:07 pm

what is "the appropriate folder"?
User of Finale since version 3.0 on Windows.
Now using a mix of Finale 2012, Finale 25, and 26.1
GPO, Garritan Solo Stradivari violin, Gofriller Solo Cello.
XSamples Chamber Ensemble.
New convert to NotePerformer3.

User avatar
michelp
Posts: 1553
Joined: Fri Jul 25, 2003 3:35 pm
Finale Version: 25.5, 2014.5
Operating System: Mac

Re: JW Lua

Post by michelp » Tue Aug 27, 2019 2:32 pm

In your Plugins folder. I created a subfolder (which appears in the plugins menu) named "JW Lua" in which I placed the plugin itself and all the scripts. I use a Mac, but I assume that there is a Plugins directory in the PC Version.
Last edited by michelp on Tue Aug 27, 2019 2:38 pm, edited 2 times in total.
Michel
MacOsX 10.11.6, Finale 25.5, 2014.5, Mac Mini Intel Dual Core i7 3Ghz, 16 Go Ram. Azerty kb. Full TGTools. MOTU Midi Express XT USB, Roland Sound Canvas SC-88vl, MOTU Audio Express. 2 monitors (27' pivot, 24')

User avatar
Michel R E
Posts: 397
Joined: Sat Dec 10, 2016 9:16 pm
Finale Version: Finale 2012, 25, 26
Operating System: Windows

Re: JW Lua

Post by Michel R E » Tue Aug 27, 2019 2:34 pm

awesome, thank-you.

some of us are... ummm... REALLY not that computer savvy :-)
User of Finale since version 3.0 on Windows.
Now using a mix of Finale 2012, Finale 25, and 26.1
GPO, Garritan Solo Stradivari violin, Gofriller Solo Cello.
XSamples Chamber Ensemble.
New convert to NotePerformer3.

Nick Mazuk
Posts: 154
Joined: Tue Jul 03, 2018 12:29 am
Finale Version: Finale 26
Operating System: Mac

Re: JW Lua

Post by Nick Mazuk » Tue Aug 27, 2019 2:34 pm

Most people I know put JW Lua and all their JW Lua scripts in /Plugins/JW Lua. You have to create the JW Lua folder yourself.

Especially once you start adding new scripts to the plugin menu to act like plugins, it can get really chaotic so it's useful to have them organized in their own folder.
Nick

User avatar
zuill
Posts: 2823
Joined: Sat Dec 10, 2016 9:35 pm
Finale Version: Finale 2011-v26.2
Operating System: Windows

Re: JW Lua

Post by zuill » Tue Aug 27, 2019 5:05 pm

Nick Mazuk wrote:Most people I know put JW Lua and all their JW Lua scripts in /Plugins/JW Lua. You have to create the JW Lua folder yourself.

Especially once you start adding new scripts to the plugin menu to act like plugins, it can get really chaotic so it's useful to have them organized in their own folder.
I tried that, and a message popped up saying I didn't have permission to do that. It wanted to put things elsewhere. I found a folder in my downloads folder, and asked the Lua plugin to look there, so it's now up, and running. I was able to add the Jazz Font Move Dots script (using copy/paste) to the folder.

Now, about the Jazz Font Dot script, I would love to see if Lua can do what I am able to do with the JW Change plugin regarding getting the extra command I need in the Lua script. The whole programming paradigm is a bit beyond me. I think I can at least learn something. The step that the Lua script is missing, in the JW Change plugin is in Rests/Placement. The setting is Default-Centered on staff. I am not sure the programing command that the Change plugin uses, so I don't know how to get the Lua script to duplicate that.

Can anybody help?

Zuill
Windows 7, Finale 2011-v26.2
"When all is said and done, more is said than done."

Nick Mazuk
Posts: 154
Joined: Tue Jul 03, 2018 12:29 am
Finale Version: Finale 26
Operating System: Mac

Re: JW Lua

Post by Nick Mazuk » Tue Aug 27, 2019 8:12 pm

I tried that, and a message popped up saying I didn't have permission to do that. It wanted to put things elsewhere. I found a folder in my downloads folder, and asked the Lua plugin to look there, so it's now up, and running. I was able to add the Jazz Font Move Dots script (using copy/paste) to the folder.
Interesting. I know on macOS at least you may need to authenticate with an admin's username and password to create a new folder there. I don't know exactly how Windows works in that regard, though.
Nick

User avatar
zuill
Posts: 2823
Joined: Sat Dec 10, 2016 9:35 pm
Finale Version: Finale 2011-v26.2
Operating System: Windows

Re: JW Lua

Post by zuill » Wed Aug 28, 2019 6:45 am

As far as the Jazz Font Dotted Eighth Rest issue, I have come to the conclusion that using the JW Change plugin is a thousand times easier than using the Lua Script. With the Change plugin, it not only repositions the dot, but makes it stick. And it takes 2 simple steps, which can be combined once applied, for future use. I guess I should stick with what's known and what's easy.

Zuill
Windows 7, Finale 2011-v26.2
"When all is said and done, more is said than done."

Post Reply