[JW Lua] FCMeasureNumberRegion::SetMultipleStartMeasure

Bruce Olson Finale at web.yosound.com
Mon Nov 30 17:35:55 CET 2015


Hi Jari,

SetMultipleStartMeasure is the one I want, see the attached pic.
SetStartMeasure changes the box labeled "Includes Measure" in the Region. It
looks like you changed SetStartMeasure in 0.44, but SetMultipleStartMeasure
also has the same problem?

>From the relevant part of the script:

local p = finale.FCPage()
if p:Load(2) then
    PageTwoFirstMeasure = p:CalcFirstMeasure()
end
if DEBUG then print ("Page Two First Measure: ",PageTwoFirstMeasure) end
**********************************************************
This gets the value "11", which is correct.
**********************************************************

if PageTwoFirstMeasure == nil then PageTwoFirstMeasure = 17
elseif PageTwoFirstMeasure < 1 then PageTwoFirstMeasure = 17 end

-- Modify the default Measure Number Region
local mnr = finale.FCMeasureNumberRegion()
if mnr:Load(1) then
-- Measure Numbers for Score
    mnr:SetShowOnTopStaff(false, false)
    mnr:SetShowOnBottomStaff(true, false)
    mnr:SetExcludeOtherStaves(true, false)
    mnr:SetShowOnSystemStart(false, false)
    mnr:SetShowMultiples(true, false)
    mnr:SetMultipleValue(1, false)
-- Use the First Measure on the second page of the score
    mnr:SetMultipleStartMeasure((PageTwoFirstMeasure-1), false)
**********************************************************
I have to subtract 1 here in order for the dialog to be changed to "11"
**********************************************************


-- 
Regards,
Bruce
-----Original Message-----
From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Jari Williamsson
Sent: Monday, November 30, 2015 2:49 AM
To: The JW Lua script plug-in.
Subject: Re: [JW Lua] FCMeasureNumberRegion::SetMultipleStartMeasure

Bruce,

Based on your comments in the script, it seems like you want to use
SetStartMeasure rather than SetMultipleStartMeasure (SetMultipleStartMeasure
is for repeated measure numbering patterns.)

However, I see that the value is off by one. Setting a multiple sequence to
start at 4 will result in 5 in the Finale dialog box. I'll fix that in the
upcoming beta.


Best regards,

Jari Williamsson

On 2015-11-09 06:41, Bruce Olson wrote:
> Jari,
>
> This does not seem to set the value in the attached script.
>
> --
>
> Bruce C. Olson
>
> Olson Sound Design, LLC
>
> AFMG Services North America, LLC
>
> Web Page: http://www.OlsonSound.com <http://www.olsonsound.com/>
>
> Big Band: http://www.BRBB.org <http://www.brbb.org/>
>
> Software:
> http://www.afmg.eu/index.php/read-news/items/afmg-establishes-north-am
> erican-office.html
>
>
> SW Forum: http://AFMG-Network.com <http://afmg-network.com/>
>
> Business: mailto:BCOlson at OlsonSound.com
>
> AFMG: mailto:Bruce.Olson at AFMG.eu
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>



_______________________________________________
JWLua mailing list
JWLua at jwmusic.nu
http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2015-11-30_10-25-37.png
Type: image/png
Size: 71111 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20151130/5685784b/attachment.png>


More information about the JWLua mailing list