<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Jari,<br>
    <br>
    I have a document with no measures selected and would like to re-do
    the music spacing with:<br>
    <font face="Courier New, Courier, monospace"><br>
      finenv.UI():MenuCommand(finale.MENUCMD_NOTESPACING )</font><br>
    <br>
    As no measures were selected nothing happens when I call the script.<br>
    <br>
    Now if I insert <br>
    <font face="Courier New, Courier, monospace">finenv.Region():SetFullDocument()  
    </font><br>
    before calling the MenuCommand still nothing happens.<br>
    <br>
    Is there anything I can do to tell the menucommand that it shall
    process the full document ?<br>
    Another idea would be to add a notespacing function to FCMusicRegion
    - like you did with RebarMusic and RebeamMusic.<br>
    <br>
    (Making the plug-in "Require selection"-dependent is not a good
    option in this case as this plug-in will always process the full
    document.)<br>
    <br>
    All the best,<br>
    Jan<br>
    <br>
    <br>
  </body>
</html>