[JW Lua] FCStaffStyleDefs:LoadAll() fails again to load all staff styles refs

Jan Angermüller jan at angermueller.com
Thu Feb 1 09:53:25 CET 2018


Jari,

in v.50 you wrote that you fixed a FCStaffStyleDefs:LoadAll() bug
( "* Fixed an issue where FCStaffStyleDefs:LoadAll() failed to load all 
staff styles refs.").
It did fix indeed all issues that I have had so far with that LoadAll 
... until yesterday.

Attached is the document where a style isn't loaded. It is zipped 
because otherwise it goes beyond the 200k message limit.

Test code:
(there are 4 staff styles and one is attached to the visible staff, but 
only 3 are displayed in the code below)

local ssdefs=finale.FCStaffStyleDefs()
ssdefs:LoadAll()
print("StaffStyles",ssdefs.Count)
local namestr=finale.FCString()
for s in each(ssdefs) do
     s:GetName(namestr)
     print(namestr.LuaString)
end

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20180201/f16afc56/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: staffstylenotloaded4.zip
Type: application/octet-stream
Size: 136696 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20180201/f16afc56/attachment-0001.obj>


More information about the JWLua mailing list