[JW Lua] Question from new user

Jan Angermüller jan at angermueller.com
Wed Sep 2 09:10:41 CEST 2020


You can design your own user dialogs where the results can be printed:
See http://jwmusic.nu/jwplugins/wiki/doku.php?id=jwlua%3Acustomwindow
Or if you just have a short message use ...Alert:
finenv.UI():AlertOkCancel("TestMessage","TestTitle")

Jan

Am 02.09.2020 um 09:03 schrieb Emile Meuffels:
> Hi,
>
> I am completely new to JW Lua, I have downloaded in only a few days 
> ago, but already managed to write a script which saves me a ton of 
> time! Thanks a lot for that!
>
> I do have a question, might be very basic but I couldn't find an 
> answer. My script counts all the notes in a piece, sorts them by 
> midi-value and prints it to the Execution Output window. That works 
> great as long as I'm in the Lua-plugin, but after saving my plugin to 
> the plugin folder, I don't get any result after running the plugin.
> I probably need to add some additional code to display the results in 
> a popup window, but I have no idea how to do that. Could anybody 
> please point me in the right direction to solve this?
>
> All the best,
>
> Emile
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu

-- 
Jan Angermüller
Dipl.-Ing.(FH) Dipl.-Jur.
Orchideenstieg 13
22297 Hamburg
Tel. 040 - 28 94 84 82
Mobil 0173 - 99 33 904
www.elbsound.studio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20200902/3c841088/attachment.htm>


More information about the JWLua mailing list