[JW Lua] Applying MENUCMD_NOTESPACING to non-selected measures
Jan Angermüller
jan at angermueller.com
Sat May 30 21:15:24 CEST 2015
Jari,
I have a document with no measures selected and would like to re-do the
music spacing with:
finenv.UI():MenuCommand(finale.MENUCMD_NOTESPACING )
As no measures were selected nothing happens when I call the script.
Now if I insert
finenv.Region():SetFullDocument()
before calling the MenuCommand still nothing happens.
Is there anything I can do to tell the menucommand that it shall process
the full document ?
Another idea would be to add a notespacing function to FCMusicRegion -
like you did with RebarMusic and RebeamMusic.
(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.)
All the best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20150530/464e7123/attachment.htm>
More information about the JWLua
mailing list