<div dir="ltr"><div dir="ltr">I just checked out the creation of Guides in Finale v25.0.0.6858.<br>It works fine! So the problem came with version 26.<br><div><br></div><div>Artem.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 17, 2022 at 1:00 PM <<a href="mailto:jwlua-request@jwmusic.nu">jwlua-request@jwmusic.nu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send JWLua mailing list submissions to<br>
        <a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:jwlua-request@jwmusic.nu" target="_blank">jwlua-request@jwmusic.nu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:jwlua-owner@jwmusic.nu" target="_blank">jwlua-owner@jwmusic.nu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of JWLua digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. AddGuide function doesn't work properly (Artem Roschenko)<br>
   2. Re: AddGuide function doesn't work properly (Robert Patterson)<br>
   3. Re: RGP Lua 0.59 Released (Robert Patterson) (Robert Patterson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 16 Jan 2022 15:33:36 +0200<br>
From: Artem Roschenko <<a href="mailto:roschenkoartem@gmail.com" target="_blank">roschenkoartem@gmail.com</a>><br>
To: <a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a><br>
Subject: [JW Lua] AddGuide function doesn't work properly<br>
Message-ID:<br>
        <<a href="mailto:CADaj7WMB6khJX48KJE1K5Sw3o8qf0owDxoQCq3G3Y_m28r0XsQ@mail.gmail.com" target="_blank">CADaj7WMB6khJX48KJE1K5Sw3o8qf0owDxoQCq3G3Y_m28r0XsQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
When I try to add a new FCGuide to an empty FCGuides collection,<br>
it works fine, but if there are some guides (of the same type -<br>
horizontal or vertical), it cannot add a new one.<br>
I think this problem started in Final 26 and<br>
relevant so far for both JWLua 0.54 and RGP 0.59<br>
<br>
Example:<br>
local ggp = finale.FCGridsGuidesPrefs()<br>
ggp:Load(1)<br>
local hg = ggp:GetHorizontalGuides()<br>
hg:AddGuide(640)<br>
ggp:Save()<br>
<br>
Artem.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/025ae74b/attachment-0001.html" rel="noreferrer" target="_blank">http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/025ae74b/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 16 Jan 2022 12:16:37 -0600<br>
From: Robert Patterson <<a href="mailto:robert@robertgpatterson.com" target="_blank">robert@robertgpatterson.com</a>><br>
To: "The JW Lua script plug-in." <<a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a>><br>
Subject: Re: [JW Lua] AddGuide function doesn't work properly<br>
Message-ID:<br>
        <<a href="mailto:CAACnces%2BMJAyFd9i%2BLma7O%2BqPS-SobvsaSuaamvhSR_vpYDK_Q@mail.gmail.com" target="_blank">CAACnces+MJAyFd9i+Lma7O+qPS-SobvsaSuaamvhSR_vpYDK_Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I am seeing this also in versions of Finale 26.2 and higher. If you have an<br>
earlier Finale version you can test, please confirm that it works there.<br>
<br>
I'm still researching why this is happening in F26.2+.<br>
<br>
On Sun, Jan 16, 2022 at 7:35 AM Artem Roschenko <<a href="mailto:roschenkoartem@gmail.com" target="_blank">roschenkoartem@gmail.com</a>><br>
wrote:<br>
<br>
> When I try to add a new FCGuide to an empty FCGuides collection,<br>
> it works fine, but if there are some guides (of the same type -<br>
> horizontal or vertical), it cannot add a new one.<br>
> I think this problem started in Final 26 and<br>
> relevant so far for both JWLua 0.54 and RGP 0.59<br>
><br>
> Example:<br>
> local ggp = finale.FCGridsGuidesPrefs()<br>
> ggp:Load(1)<br>
> local hg = ggp:GetHorizontalGuides()<br>
> hg:AddGuide(640)<br>
> ggp:Save()<br>
><br>
> Artem.<br>
> _______________________________________________<br>
> JWLua mailing list<br>
> <a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
> <a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/ec590881/attachment-0001.html" rel="noreferrer" target="_blank">http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/ec590881/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 16 Jan 2022 16:15:39 -0600<br>
From: Robert Patterson <<a href="mailto:robert@robertgpatterson.com" target="_blank">robert@robertgpatterson.com</a>><br>
To: "The JW Lua script plug-in." <<a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a>><br>
Subject: Re: [JW Lua] RGP Lua 0.59 Released (Robert Patterson)<br>
Message-ID:<br>
        <<a href="mailto:CAACncesePrrfP50RUFS_Bz2hCbwzeTWmEs3FRHmWkTsQ9%2BFWsw@mail.gmail.com" target="_blank">CAACncesePrrfP50RUFS_Bz2hCbwzeTWmEs3FRHmWkTsQ9+FWsw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Could you send a sample musx file to go with that script? I'm not sure<br>
what's going on. FWIW: the bottom composite is almost always 1-element per<br>
group. And it's usually only used where you are combining multiple full<br>
meters like (2/4) + (3/8).<br>
<br>
On Sun, Jan 16, 2022 at 4:54 AM Carl Vine <<a href="mailto:carlvine@iinet.net.au" target="_blank">carlvine@iinet.net.au</a>> wrote:<br>
<br>
> This is amazing Robert - mind-boggling complexity.<br>
><br>
> Trying to wrap my head around Time Signatures. I don?t suppose you have a<br>
> sample script running through the nested elements in Composite TimeSigs?<br>
><br>
> I think I?ve fathomed most of it but can?t get<br>
> time_sig_bot:GetGroupElementBeatDuration(0,0) to work, even though the<br>
> group and element numbers are shown to exist. Keeps throwing a ?nil value?<br>
> exception. Oddly, ?SetGroupElementBeatDuration()? does work.<br>
><br>
> ?=======<br>
> if time_sig.CompositeBottom then<br>
>     local ccb = time_sig:CreateCompositeBottom()<br>
>     local num_bot_groups = ccb:GetGroupCount()<br>
>     res=res.."Comp bot = ".. num_bot_groups .. " groups - "<br>
><br>
>     for i = 0,num_bot_groups-1 do<br>
>         local x = ccb:GetGroupElementCount(i)<br>
>         res=res.."bot"..i.."= "..x.." els/ \n"<br>
>         for j = 0, x-1 do<br>
>             res=res..ccb:GetGroupElementBeatDuration(i,j).."/ "<br>
>         end<br>
>     end<br>
> end<br>
> finenv.UI():AlertNeutral(plugindef(), res)<br>
> ?=======<br>
><br>
> Carl<br>
><br>
> On 15 Jan 2022, at 10:00 pm, <a href="mailto:jwlua-request@jwmusic.nu" target="_blank">jwlua-request@jwmusic.nu</a> wrote:<br>
><br>
> Send JWLua mailing list submissions to<br>
> <a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:jwlua-request@jwmusic.nu" target="_blank">jwlua-request@jwmusic.nu</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:jwlua-owner@jwmusic.nu" target="_blank">jwlua-owner@jwmusic.nu</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of JWLua digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>   1. RGP Lua 0.59 Released (Robert Patterson)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Fri, 14 Jan 2022 10:31:16 -0600<br>
> From: Robert Patterson <<a href="mailto:robert@robertgpatterson.com" target="_blank">robert@robertgpatterson.com</a>><br>
> To: "The JW Lua script plug-in." <<a href="mailto:jwlua@jwmusic.nu" target="_blank">jwlua@jwmusic.nu</a>><br>
> Subject: [JW Lua] RGP Lua 0.59 Released<br>
> Message-ID:<br>
> <<a href="mailto:CAACncetAD9LXkWUhXeAvUFxmZikFAijMAv5TM9GAaafta3tgaA@mail.gmail.com" target="_blank">CAACncetAD9LXkWUhXeAvUFxmZikFAijMAv5TM9GAaafta3tgaA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> RGP Lua version 0.59 is now available for download on the download page<br>
> <<a href="https://robertgpatterson.com/-fininfo/-rgplua/rgplua.html" rel="noreferrer" target="_blank">https://robertgpatterson.com/-fininfo/-rgplua/rgplua.html</a>>.<br>
><br>
> Enhancements include:<br>
><br>
>   - Full support for adding, changing, and deleting mid-measure clefs.<br>
>   (See FCCell.)<br>
>   - Full support for adding, changing, and deleting composite time<br>
>   signatures, both measure-level and for independent time signatures.<br>
>   - Various new methods and properties on FCCellMetrics, FCArticulation,<br>
>   FCDistancePrefs, FCStrings, and FCFontInfo. (See version history for<br>
>   details.)<br>
>   - Added system- and folder-level prefix script options (perhaps useful<br>
>   for adding to PATH and/or CPATH require paths).<br>
>   - Bug fixes.<br>
><br>
> Happy scripting,<br>
> Robert<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220114/d4cb78e7/attachment-0001.html" rel="noreferrer" target="_blank">http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220114/d4cb78e7/attachment-0001.html</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> JWLua mailing list<br>
> <a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
> <a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of JWLua Digest, Vol 87, Issue 6<br>
> ************************************<br>
><br>
><br>
><br>
><br>
><br>
> Carl<br>
><br>
> _______________________________________________<br>
> JWLua mailing list<br>
> <a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
> <a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/d975af95/attachment-0001.html" rel="noreferrer" target="_blank">http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/d975af95/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
JWLua mailing list<br>
<a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
<a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
<br>
<br>
------------------------------<br>
<br>
End of JWLua Digest, Vol 87, Issue 8<br>
************************************<br>
</blockquote></div></div>