<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Please have a look at JW Lua's "Class Browser" (click on the "Class
Browser..." button at the left bottom of the development window and
go to FCMidiExpression). This usually gives you an idea of what is
possible. The <a moz-do-not-send="true"
href="http://www.finaletips.nu/frameworkref/annotated.html">online
documentation</a> is also very helpful.<br>
If you want the value for a certain region only, you should probably
use the MeasurePos property (for the start position) and add another
FCMidiExpression at the end position.<br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 11.12.2019 um 22:18 schrieb
Undoaudio:<br>
</div>
<blockquote type="cite"
cite="mid:CAG33Jf_KoKN5rusJ=AtoboJx0Qdg8keUyqPCTg_9cz3QwfJAzA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Okay, this is getting me quite close! The only
thing I think is missing from what I need is the possibility to
write/change the pitch wheel data for the selected region only,
not necessarily for whole measures.
<div>Sometimes I need to bend eg. one 16th note a 1/3 tone down
and the next one a quarter tone up. I tried to figure this out
but didn't get it to work. If you can steer me in the right
direction I'd be most grateful. Actually I already am.</div>
<div><br>
</div>
<div>Thanks so much!</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ti 10. jouluk. 2019 klo 21.02
Chris (<a href="mailto:marcel.denio@gmail.com"
moz-do-not-send="true">marcel.denio@gmail.com</a>)
kirjoitti:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">This
script creates a pitch wheel event for each measure in the
selection<br>
(it's just to show you how to create an event)<br>
<br>
------------<br>
local musicregion = finale.FCMusicRegion()<br>
musicregion:SetCurrentSelection()<br>
if musicregion:IsEmpty() then return end<br>
<br>
for m, s in eachcell(musicregion) do<br>
-- 'm' is the measure number, 's' is the staff number/ID<br>
local cell = finale.FCCell(m, s)<br>
local me = finale.FCMidiExpression()<br>
me:ConnectCell(cell)<br>
me:SetUsePitchWheel()<br>
me.PitchWheelValue = 1000<br>
me:SaveNew()<br>
end<br>
------------<br>
<br>
Chris<br>
<br>
_______________________________________________<br>
JWLua mailing list<br>
<a href="mailto:JWLua@jwmusic.nu" target="_blank"
moz-do-not-send="true">JWLua@jwmusic.nu</a><br>
<a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</body>
</html>