[JW Lua] FCStaff.ShowStaffLines works with inverted value
Jan Angermüller
jan at angermueller.com
Wed Dec 7 18:24:28 CET 2016
Jari,
FCStaff(Base).ShowStaffLines always works with an inverted value, so it
behaves like its name would be "HideStaffLines".
Sample code below. It sets ShowStaffLines to true on every staff.
But after running the plugin all stafflines are invisible, instead of
(still) visible.
When I set it to false, they become visible again.
Best,
Jan
local staves=finale.FCStaves()
staves:LoadAll()
for s in each(staves) do
s.ShowStaffLines=true
print(s.ShowStaffLines)
s:Save()
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20161207/5c4f3134/attachment.htm>
More information about the JWLua
mailing list