[JW Lua] FCStaffStyleDef:Load(...) always returns true

Chris marcel.denio at gmail.com
Wed May 11 17:32:07 CEST 2016


Ok Jan

Other method, it's possible to rebuild the list :

---------------------------------
local ind = 1
for i =1,100,1 do
      local namestr=finale.FCString()
      local s=finale.FCStaffStyleDef()
      s:Load(i)
      s:GetName(namestr)

      if not namestr:IsEmpty() then
         s.ItemNo = ind
         s:Save()
         ind= ind + 1
      end
end

---------------------------------

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160511/51daba4f/attachment.htm>


More information about the JWLua mailing list