<div dir="ltr">I've been looking at them while trying to figure this out and while I have an idea of what should be possible I have very little clue how to get there. My skillset in coding is almost non-existent so even if I might have a hunch what classes, properties etc. to try, I rarely get the code working. I'm sorry to bother with such basic stuff but I guess everyone has to start somewhere. Anyway, I'm really thankful for all the help and tips I've gotten!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ke 11. jouluk. 2019 klo 23.31 Jan Angermüller (<a href="mailto:jan@angermueller.com">jan@angermueller.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">
  
    
  
  <div 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 href="http://www.finaletips.nu/frameworkref/annotated.html" target="_blank">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>Am 11.12.2019 um 22:18 schrieb
      Undoaudio:<br>
    </div>
    <blockquote type="cite">
      
      <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" target="_blank">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">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>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
JWLua mailing list
<a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a>
<a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
    </blockquote>
    <br>
  </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>