[JW Lua] FCMeasureNumberRegion alignments not changing

Joseph Weidinger jsphweid at gmail.com
Mon May 4 15:54:31 CEST 2015


I am making a script that makes new measure number regions.  It was going
great until I started to change the position with:

SetStartAlignment()
SetStartJustification()
SetMultiMeasureAlignment()
SetMultiMeasureJustification()

The documentation seems weird to me (
http://www.finaletips.nu/frameworkref/group__lua__classes.html#ga934c898f4ebbf7cbca683e424c641462
).  I gathered it needed a number argument and based on a table I saw in
your PDK, it looks like 0 should be Left, 1 should be Center, 2 should be
Right.  However, the actual order is not Left Center Right but Left Right
Center. Furthermore, passing these numbers into SetStartAlignment() and
SetMuliMeasureAlignment() don't affect it at all. It simply defaults to
Left every time.

Another way of seeing it based on my experiments:
start
0 0 left left
1 1 left right
2 2 left center

multimeasure
0 0 left left
1 1 left right
2 2 left center

So to summarize, it seems no number passed into SetStartAlignment or
SetMultiMeasureAlignment (and presumably SetMultipleAlignment) changes the
value to anything other than left.  Am I missing something...?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20150504/0b21ce3d/attachment.htm>


More information about the JWLua mailing list