[JW Lua] FCPartScorePrefs.DisplayInConcertPitch difference between 2014.5 and Fin25 in JW Lua 0.54

Jan Angermüller jan at angermueller.com
Mon Oct 16 12:13:09 CEST 2017


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/20171016/401d5fb2/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/20171016/401d5fb2/attachment.obj>


More information about the JWLua mailing list