[JW Lua] More
Charles O. Lawrence
charlesolawrence at bellsouth.net
Mon Sep 2 16:40:31 CEST 2013
Jari,
I can't seem to get anything from FCSystemStaves, only a Count = 0. What am
I missing? The document has 3 staves and 8 staff systems on 3 pages.
Nothing is selected.
Thanks,
Charles
----------------------------------------------------------
systemStaves = finale.FCSystemStaves()
systemStaves:LoadAll()
print ("SystemStaves Count",systemStaves.Count)
for ss in each(systemStaves) do
print("SystemStaff Staff",ss.Staff)
end
SystemStaves Count 0
-------------------------------------------------------
A similar script for FCStaffSystems seems to be OK.
staffSystems = finale.FCStaffSystems()
staffSystems:LoadAll()
print ("StaffSystems Count",staffSystems.Count)
for ss in each(staffSystems) do
print("StaffSystem ItemNo",ss.ItemNo)
end
StaffSystems Count 8
StaffSystem ItemNo 1
StaffSystem ItemNo 2
StaffSystem ItemNo 3
StaffSystem ItemNo 4
StaffSystem ItemNo 5
StaffSystem ItemNo 6
StaffSystem ItemNo 7
StaffSystem ItemNo 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20130902/b5ad80b6/attachment.htm>
More information about the JWLua
mailing list