[JW Lua] Accessing Finale Menus via LUA...
Simon Leclerc
simon at prodsl.ca
Mon Mar 2 17:02:30 CET 2020
Hi Jan,
The short answer is no. I think (if I remember correctly) I was trying to call a TGTool plugin from one of my plugins.
If the one you’re trying to invoke is part of your JW plugin library, this is what I ended up doing:
(“path” being a predefined variable leading to the right folder in your OS)
finale.FCEntryMetrics.MarkMetricsForRebuild()
finale.FCCellMetrics.MarkMetricsForRebuild()
local _file_to_execute = assert(loadfile(path..”youPlugin.lua"))
_file_to_execute()
Hoping this helps.
¯\_(ツ)_/¯
Simon Leclerc
60, Mirabelle
Ste-Agathe-des-Monts, Québec
J8C 0W9
simon at prodsl.ca
> On March 2, 2020, at 09:47, Jan Angermüller <jan at angermueller.com> wrote:
>
> Hi Simon,
>
> did you find a solution for this?
> I encountered the same issue.
> It works fine on Windows, but on MacOS I can't access the Plug-ins menu via MenuPositionCommand() either.
>
> Best,
> Jan
>
> Am 28.01.2017 um 18:09 schrieb Simon Leclerc:
>> Hi everyone,
>>
>> I’m trying to access the menu “Plug-ins” (as in “File”, “Edit”, “Utilities”, etc…) using the ui:MenuPositionCommand(), but to no avail.
>>
>> I have access to all the other menus and sub-menus, but the “Plug-in” one, which should be #7 on a Mac system, seems not possible to be invoked.
>>
>> I tried many combinations, the zero-based concept not being true all the time, but could not find the right one.
>>
>> Any clue?
>>
>> Thanks to all.
>>
>>
>>
>>
>>
>>
>> Simon Leclerc
>> 60, Mirabelle
>> Ste-Agathe-des-Monts, Québec
>> J8C 0W9
>> simon at prodsl.ca <mailto:simon at prodsl.ca>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu <mailto:JWLua at jwmusic.nu>
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu <http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu>
>
> --
> Dipl.-Ing.(FH) Dipl.-Jur. Jan Angermüller
> Orchideenstieg 13
> 22297 Hamburg
> Tel. 040 - 28 94 84 82
> Mobil 0173 - 99 33 904
> www.elbsound.studio <http://www.elbsound.studio/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20200302/404481e4/attachment.htm>
More information about the JWLua
mailing list