[JW Lua] JWLua Menu plugin
Aaron Sherber
aaron at sherber.com
Fri Jan 27 16:30:25 CET 2023
Hi Robert,
A few other things:
The docs say that ==> is used to indicate an alternate label, but it's
really =>.
The second and third paragraphs of the docs largely duplicate each other.
It would be nice to mention that submenus can be nested, and that MENUNAME
and USEMAINMENU are interpreted positionally -- they can be used repeatedly
throughout the document and will apply to any items underneath them.
Returning to my original confusion about the use of MENUNAME, I think the
docs could also be clearer in their use of some terms. How does this look?
MENUNAME Locates the source menu from which to take items. The plugin
searches Finale's Plug-Ins menu and submenus for a plugin that starts with
this text (e.g., JW Lua or RGP Lua for Lua scripts). The menu containing
that plugin becomes the menu from which items listed below are taken. MENUNNAME
can be specified multiple times in the file to allow items to be drawn from
multiple source menus. If this value is omitted, it defaults to JW Lua.
USEMAINMENU Specifies the name of a new menu to be created in Finale's
main menu bar for submenus which follow in the document. If omitted, the items
listed in the file will be copied to the same menu located by MENUNAME. You
can include an ampersand (&) for a Windows menu hotkey. This will be
stripped out and ignored if the file is used with Mac Finale.
(Personally, I think a tag like MENULOCATOR would be clearer than MENUNAME,
if that could be implemented in a backwards compatible way.)
If you like, I could put together a couple of shorter annotated sample
files.
Thanks,
Aaron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230127/83a849ac/attachment.htm>
More information about the JWLua
mailing list