[JW Lua] FCPartScorePrefs.DisplayInConcertPitch difference between 2014.5 and Fin25 in JW Lua 0.54
Jan Angermüller
jan at angermueller.com
Wed Apr 12 14:30:48 CEST 2023
A follow-up to this very old thread as I had a client today who asked
about it:
This bug from Finale 25/JW Lua/Windows was fixed in Finale 26.
It also works correct in Finale 27.x.
I have checked again the old attached file from 2017 and it still leads
to wrong results in Finale 25.5/JW Lua 0.54.
However, in Fin25.5/RGP Lua it's also correct.
I haven't checked macOS though.
So it's only Finale 25.x/JW Lua that can cause a problem with
FCPartScorePrefs.DisplayInConcertPitch.
Jan
-------- Weitergeleitete Nachricht --------
Betreff: [JW Lua] FCPartScorePrefs.DisplayInConcertPitch difference
between 2014.5 and Fin25 in JW Lua 0.54
Datum: Mon, 16 Oct 2017 12:13:09 +0200
Von: Jan Angermüller <jan at angermueller.com>
Antwort an: The JW Lua script plug-in. <jwlua at jwmusic.nu>
An: The JW Lua script plug-in. <jwlua at jwmusic.nu>
Jari,
there had been a thread some weeks ago about differences between
FCPartScorePrefs.DisplayInConcertPitch in Fin2014.5 and v25.
You had fixed this problem in some release (can't remember which one),
but now I noticed a new difference between 2014.5 and v25 in the recent
0.54. Load the attached file and run the following script - it produces
different results on 2014.5 and v25 (on Windows 10).
The result on 2014.5 is correct, on v25 some parts are detected as
"Display in Concert Pitch" is checked, but it isn't.
local parts = finale.FCParts()
parts:LoadAll()
for p in each(parts) do
p:SwitchTo()
local partprefs=finale.FCPartScopePrefs()
partprefs:LoadFirst()
print(partprefs:GetDisplayInConcertPitch())
p:SwitchBack()
end
on 2014.5
Running [Unnamed Script] ======>
false
false
false
false
false
false
false
false
false
false
false
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).
On v25:
Running [Unnamed Script] ======>
false
false
false
false
false
true
false
false
true
false
false
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).
Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230412/89814d19/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test concert pitch.mus
Type: application/octet-stream
Size: 70111 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230412/89814d19/attachment.obj>
More information about the JWLua
mailing list