<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        
                                        
                                            
                                        
                                        
                                        Wow, that's awesome! I was excited about the prospect of adding some more customization using the RGP Lua configuration UI, but a standalone configuration is appealing, too. Bare minimum, a dedicated folder in the plug-ins would be pretty slick!<br><br>You're the best Robert!<br><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">On 2/10/2022 3:00:15 AM, jwlua-request@jwmusic.nu <jwlua-request@jwmusic.nu> wrote:</p><div style="font-family:Arial,Helvetica,sans-serif">Send JWLua mailing list submissions to
<br>      jwlua@jwmusic.nu
<br>
<br>To subscribe or unsubscribe via the World Wide Web, visit
<br>      http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
<br>or, via email, send a message with subject or body 'help' to
<br>      jwlua-request@jwmusic.nu
<br>
<br>You can reach the person managing the list at
<br>      jwlua-owner@jwmusic.nu
<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. Changes coming in v0.61 (Robert Patterson)
<br>   2. Issues with JW Lua's playback function in FCTextExpressionDef
<br>      (Jan Angerm?ller)
<br>
<br>
<br>----------------------------------------------------------------------
<br>
<br>Message: 1
<br>Date: Wed, 9 Feb 2022 11:14:06 -0600
<br>From: Robert Patterson <robert@robertgpatterson.com>
<br>To: "The JW Lua script plug-in." <jwlua@jwmusic.nu>
<br>Subject: [JW Lua] Changes coming in v0.61
<br>Message-ID:
<br>      <caacncetfl95fprl1evokowi6mtygvb6apmilkz2awq5pjrdfeg@mail.gmail.com>
<br>Content-Type: text/plain; charset="utf-8"
<br>
<br>Besides some small bug fixes and additions, there are two significant
<br>changes coming in 0.61 that you may want to know about in advance. The
<br>first is the addition of a new class, FCPartStaffVoicing. This allows you
<br>to view, add, modify, or delete staff voicing for a linked part.
<br>
<br>The second will be of particular interest to a couple of you. (Jan
<br>Angerm?ller and Jake Winkler I'm looking at you.) RGP Lua 0.61 will be
<br>separately embeddable in its own folder. If you put a config file in the
<br>same folder (with the name com.robertgpatterson.RGPPluginSettings.xml), RGP
<br>Lua will read that config file instead of the one in the user's
<br>preferences, and it will only display the scripts configured in that file.
<br>Furthermore, there will be a new option in the xml (only editable with a
<br>text editor) that suppresses the RGP Lua configuration UI. It allows you to
<br>present your script(s) to the user as standalone plugins without displaying
<br>the RGP Lua menu option.
<br>
<br>I see this as particularly useful for Perfect Layout and the JetStream
<br>Controller projects. I don't recommend it in general, but it will be there
<br>for anyone to use. Here is a sample of what it might look like for Perfect
<br>Layout:
<br>
<br><rgppluginsettings>
<br>    <author>Robert G. Patterson</author>
<br>    <rgplua includeui="false">
<br>        <scripts>
<br>            </scripts>
<br>    </rgplua>
<br></rgppluginsettings>
<br>
<br>Robert
<br>-------------- next part --------------
<br>An HTML attachment was scrubbed...
<br>URL: <http: jwmusic.nu="" pipermail="" jwlua_jwmusic.nu="" attachments="" 20220209="" 0bb7cc92="" attachment-0001.html="">
<br>
<br>------------------------------
<br>
<br>Message: 2
<br>Date: Thu, 10 Feb 2022 10:57:46 +0100
<br>From: Jan Angerm?ller <jan@angermueller.com>
<br>To: "The JW Lua script plug-in." <jwlua@jwmusic.nu>
<br>Subject: [JW Lua] Issues with JW Lua's playback function in
<br>      FCTextExpressionDef
<br>Message-ID: <ff9d52f6-9196-b129-c284-bdd60b0ee0d1@angermueller.com>
<br>Content-Type: text/plain; charset="utf-8"; Format="flowed"
<br>
<br>I have just noticed a severe issue which can mess up the expression 
<br>definitions.
<br>I wrote a "Clone" function to copy&paste properties from one expression 
<br>definition to another and used the seemingly undangerous 
<br>ExecutableShapeID property like this:
<br>
<br>DestinationExprDef.ExecutableShapeID=SourceExprDef.ExecutableShapeID
<br>
<br>But this will not only copy the ExecutableShapeID, but also reset all 
<br>other playback values in that expression defintion - like key velocity, 
<br>tempo, etc.
<br>
<br>So, for example, if your source and destination expressions were dynamic 
<br>expressions with the Key Velocity playback type and the destination used 
<br>"Key Velocity: 75", it will change to "Key Velocity: 0". But the code 
<br>line above will have no effect on the ExecutableShapeID as it is 0 in 
<br>both cases.
<br>
<br>Robert, could you update this in the documentation?
<br>Currently it only says:
<br>"Setting the shape to 0 can be used to clear the use of executable shape."
<br>But it seems to me like:
<br>"Setting the shape to 0 clears ANY playback value - even if the 
<br>executable shape was not used at all."
<br>
<br>And maybe add one line that assigning 0 to ExecutableShapeID will not 
<br>change the "Value" field, if UseExecutableShape is not activated.
<br>
<br>Test code:
<br>local textexprdef=finale.FCTextExpressionDef()
<br>textexprdef:Load(1)
<br>local textexprdef2=finale.FCTextExpressionDef()
<br>textexprdef2:Load(2)
<br>textexprdef2.ExecutableShapeID=textexprdef.ExecutableShapeID
<br>textexprdef2:Save()
<br>
<br>A few other things that I noticed that affect expression definitions and 
<br>playback and which might need attention:
<br>1.) Get/SetPlaybackType() is listed as "Lua supported in 0.55", but it's 
<br>not supported yet.
<br>2.) SetPlaybackController is supported, but GetPlaybackController is not
<br>3.) Get/SetPlaybackKeyVelocity() are in Jari's framework, but not in JW 
<br>Lua?? (probably not needed if you use SetPlaybackController with the key 
<br>velocity type, but GetPlaybackController() isn't supported yet either)
<br>4.) The documentation for SetPlaybackTempo doesn't mention very clearly 
<br>that it turns a non-tempo playback expression into a tempo playback 
<br>expression.
<br>So it not only changes the tempo/duration value, but it seems to set a 
<br>flag internally that the new playback is a "EXPPLAYTYPE_TEMPO" type. I 
<br>had expected that I would have to call SetPlaybackType() additionally to 
<br>change this behaviour.
<br>
<br>Jan
<br>-------------- next part --------------
<br>An HTML attachment was scrubbed...
<br>URL: <http: jwmusic.nu="" pipermail="" jwlua_jwmusic.nu="" attachments="" 20220210="" 199ff6dd="" attachment-0001.html="">
<br>
<br>------------------------------
<br>
<br>Subject: Digest Footer
<br>
<br>_______________________________________________
<br>JWLua mailing list
<br>JWLua@jwmusic.nu
<br>http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
<br>
<br>
<br>------------------------------
<br>
<br>End of JWLua Digest, Vol 88, Issue 12
<br>*************************************
<br></http:></ff9d52f6-9196-b129-c284-bdd60b0ee0d1@angermueller.com></jwlua@jwmusic.nu></jan@angermueller.com></http:></caacncetfl95fprl1evokowi6mtygvb6apmilkz2awq5pjrdfeg@mail.gmail.com></jwlua@jwmusic.nu></robert@robertgpatterson.com></div></blockquote>
                                        
                                        </div>