<div dir="ltr">I added the (read-only) properties on both a while ago.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 10, 2022 at 4:55 AM Jan Angermüller <<a href="mailto:jan@angermueller.com">jan@angermueller.com</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">
<div bgcolor="#FFFFFF">
Robert,<br>
<br>
I just ran again into the old issue of the missing property
UseCustomChar in FCAccidentalMod / FCNoteheadMod (see 3. and 4. in
the old mail from the Lua mailing list below).<br>
GetUseCustomChar is available, but not the property.<br>
However UseCustomFont is available both as property and method.<br>
<br>
I haven't checked it in RGP Lua. But as I didn't find the keyword
UseCustomChar in any of your recent emails, I assume the issue is
still in.<br>
<br>
Jan<br>
<div><br>
<br>
-------- Weitergeleitete Nachricht --------
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Betreff:
</th>
<td>[JW Lua] Four more JW Lua bugs</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Datum: </th>
<td>Thu, 3 Nov 2016 14:27:30 +0100</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Von: </th>
<td>Jan Angermüller <a href="mailto:jan@angermueller.com" target="_blank"><jan@angermueller.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Antwort
an: </th>
<td>The JW Lua script plug-in. <a href="mailto:jwlua@jwmusic.nu" target="_blank"><jwlua@jwmusic.nu></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">An: </th>
<td>The JW Lua script plug-in. <a href="mailto:jwlua@jwmusic.nu" target="_blank"><jwlua@jwmusic.nu></a></td>
</tr>
</tbody>
</table>
<br>
<br>
Hi Jari,<br>
<br>
I don't know how I should submit more bugs ?<br>
Again separate mails ? Or add them to my PDF and upload it again ?<br>
Below are four bugs of which bug 2 has been mentioned before in
older mails, but never been fixed.<br>
I would priorizite the first bug as "High Priority" and the other
three as "Nice to have"-bug fixes.<br>
<br>
Best,<br>
Jan<br>
<br>
1.) If I open a sub dialog (e.g. articulation, expression, ...)
from my main dialog and then want to return to my main dialog (by
clicking ok or cancel), <b>the focus gets lost</b>. Neither
Finale nor my main dialog are active anymore (the focus isn't
visible at all!) and I need to use the mouse and click on the
plugin dialog to make it active again. Thus it's impossible to
automate the plugin for example via macros.<br>
Maybe a<b> :SetFocus() </b>function is needed - if this is not
performed automatically.<br>
I have only tested it on Windows/Finale 2014.5.<br>
<br>
Test code: (Run the code, click on the Select button and then
close the Articulation dialog -> focus is not on the plugin
anymore)<br>
local str=finale.FCString()<br>
str.LuaString="Test"<br>
local dialog = finale.FCCustomLuaWindow()<br>
dialog:SetTitle(str)<br>
local button = dialog:CreateButton(0, 0)<br>
str.LuaString = "Select"<br>
button:SetText(str)<br>
local function mycommandhandler(thecontrol)<br>
if thecontrol:GetControlID()==button:GetControlID() then<br>
local myIDResult <br>
myIDResult= finenv.UI():DisplayArticulationDialog(0)<br>
end<br>
end<br>
dialog:RegisterHandleCommand(mycommandhandler)<br>
dialog:CreateOkButton()<br>
dialog:CreateCancelButton()<br>
dialog:ExecuteModal(nil)<br>
<br>
2.) If I write <b>0 (EVPU) to
FCDistancePrefs.AccidentalMultiSpace</b>, it appears as 8 (EVPU)
in the Finale document options "Space Between Accidentals on Note"
field. <br>
Any other value I write appears correctly, i.e. -1 -> -1, 1
-> 1, 2-> 2 etc. <br>
When I read the value from within JW Lua after having written it,
it returns correctly as 0, but still shows 8 in the dialog. Test
script below. <br>
The same goes for or FCDistancePrefs.AccidentalNoteSpace. (see
mails 2016-04-22 and 2016-04-23)<br>
<br>
local distprefs=finale.FCDistancePrefs() <br>
distprefs:LoadFirst() <br>
distprefs.AccidentalMultiSpace=0 <br>
distprefs:Save() <br>
<br>
3.) <b>FCAccidentalMod.UseCustomChar is not available only
...:GetUseCustomChar()</b><br>
On the other hand UseCustomFont is available both as property and
method.<br>
<br>
4.) <b>FCNoteheadMod.UseCustomChar is not available only
:GetUseCustomChar()</b><br>
On the other hand UseCustomFont is available both as property and
method.<br>
<br>
<br>
<br>
<br>
</div>
</div>
_______________________________________________<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>
</blockquote></div>