[JW Lua] FCCell:CalcClefIndexAt(...) doesn't work
Jan Angermüller
jan at angermueller.com
Tue Aug 29 11:41:15 CEST 2017
Jari,
probably similar to the FCCellPos problem I mentioned yesterday, I have
a problem with the new FCCell:CalcClefIndexAt(...).
If you run the following script on the attached Finale document, it
returns the same clef index for each print - although there is one clef
change in measure 4 in the score.
local cell=finale.FCCell(1,1)
print(cell:CalcClefIndexAt(0))
cell=finale.FCCell(4,1)
print(cell:CalcClefIndexAt(0))
cell=finale.FCCell(6,1)
print(cell:CalcClefIndexAt(0))
Running [Unnamed Script] ======>
1
1
1
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).
(For file size reasons for this mailing list I saved as Fin2012.
Originally tested in 2014.5 with v0.53)
Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170829/cb63c190/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clefchangenotdetected.mus
Type: application/octet-stream
Size: 41092 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170829/cb63c190/attachment.obj>
More information about the JWLua
mailing list