<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Jan,<div class=""><br class=""></div><div class="">The short answer is no. I think (if I remember correctly) I was trying to call a TGTool plugin from one of my plugins.</div><div class=""><br class=""></div><div class="">If the one you’re trying to invoke is part of your JW plugin library, this is what I ended up doing:</div><div class="">(“path” being a predefined variable leading to the right folder in your OS)<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class=""><span style="font-style: normal;" class=""><div class="">finale.FCEntryMetrics.MarkMetricsForRebuild()</div><div class="">finale.FCCellMetrics.MarkMetricsForRebuild()</div><div class="">local _file_to_execute = assert(loadfile(path..”youPlugin.lua"))</div><div class="">_file_to_execute()</div><br class=""></span></div><div class=""><span style="font-style: normal;" class=""><br class=""></span></div><div class=""><span style="font-style: normal;" class="">Hoping this helps.</span></div><div class=""><span style="font-style: normal;" class=""><br class=""></span></div><div class=""><span style="font-style: normal;" class=""><br class=""></span></div><div class=""><span style="font-style: normal;" class=""><br class=""></span></div><div class=""><span style="font-style: normal;" class=""><br class=""></span></div><div style="font-family: Helvetica; font-style: normal; font-weight: normal; font-size: 12px;" class=""><span style="text-align: -webkit-auto; -webkit-text-decorations-in-effect: none; font-family: "Times New Roman", serif; font-size: 16px;" class="">¯\_(</span><span style="text-align: -webkit-auto; -webkit-text-decorations-in-effect: none; font-family: "MS Gothic"; font-size: 16px;" class="">ツ</span><span style="text-align: -webkit-auto; -webkit-text-decorations-in-effect: none; font-family: "Times New Roman", serif; font-size: 16px;" class="">)_/¯</span></div><div style="font-family: Helvetica; font-style: normal; font-weight: normal; font-size: 12px;" class=""><span class="Apple-style-span" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Simon Leclerc</div><div class="">60, Mirabelle</div><div class="">Ste-Agathe-des-Monts, Québec</div><div class="">J8C 0W9</div><div class=""><a href="mailto:simon@prodsl.ca" class="">simon@prodsl.ca</a></div></div></span></div></div><div style="font-family: Helvetica; font-style: normal; font-weight: normal; font-size: 12px;" class=""><br class=""></div></div></span><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2;"><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On March 2, 2020, at 09:47, Jan Angermüller <<a href="mailto:jan@angermueller.com" class="">jan@angermueller.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div class="">
Hi Simon,<br class="">
<br class="">
did you find a solution for this?<br class="">
I encountered the same issue. <br class="">
It works fine on Windows, but on MacOS I can't access the Plug-ins
menu via MenuPositionCommand() either.<br class="">
<br class="">
Best,<br class="">
Jan<br class="">
<br class="">
<div class="moz-cite-prefix">Am 28.01.2017 um 18:09 schrieb Simon
Leclerc:<br class="">
</div>
<blockquote type="cite" cite="mid:0AD369A9-C39A-4B1E-8590-9A28359519C8@prodsl.ca" class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
Hi everyone,
<div class=""><br class="">
</div>
<div class="">I’m trying to access the menu “Plug-ins” (as in
“File”, “Edit”, “Utilities”, etc…) using
the ui:MenuPositionCommand(), but to no avail.</div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">I tried many combinations, the zero-based concept
not being true all the time, but could not find the right one.</div>
<div class=""><br class="">
</div>
<div class="">Any clue?</div>
<div class=""><br class="">
</div>
<div class="">Thanks to all.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<span class="Apple-style-span" style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class=""><br class="Apple-interchange-newline">
<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Simon Leclerc</div>
<div class="">60, Mirabelle</div>
<div class="">Ste-Agathe-des-Monts, Québec</div>
<div class="">J8C 0W9</div>
<div class=""><a href="mailto:simon@prodsl.ca" class="" moz-do-not-send="true">simon@prodsl.ca</a></div>
<div class=""><br class="">
</div>
</div>
</span><br class="Apple-interchange-newline" style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br class="">
<pre class="moz-signature" cols="72">--
Dipl.-Ing.(FH) Dipl.-Jur. Jan Angermüller
Orchideenstieg 13
22297 Hamburg
Tel. 040 - 28 94 84 82
Mobil 0173 - 99 33 904
<a class="moz-txt-link-abbreviated" href="http://www.elbsound.studio/">www.elbsound.studio</a></pre>
</div>
</div></blockquote></div><br class=""></div></body></html>