[JW Lua] group name error

lists.jc.michel at symetrie.com lists.jc.michel at symetrie.com
Sun Mar 15 21:03:48 CET 2015


Hi Jari,


With 2012/0.30, I get an error (Finale app blocked forever) when using
FCGroup:CreateFullNameString()
on some files
Whereas
FCGroup:CreateAbbreviatedNameString()
seems to work without halting.

Here is my code :
local groups = finale.FCGroups()
groups:LoadAll()
for group in each(groups) do
    if group:HasFullName() then
        s = group:CreateFullNameString()
        print(s.LuaString)
    end

    if group:HasAbbreviatedName() then
        s = group:CreateAbbreviatedNameString()
        print(s.LuaString)
    end
end

Any idea why this happens?
Thks




More information about the JWLua mailing list