[JW Lua] Script compiler - some suggestions

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Mon Aug 25 08:30:36 CEST 2014


Jan,

FWIW, there are quite a few technical complications with having multiple 
renamed modules, specially on the Mac side.


Best regards,

Jari Williamsson


On 2014-08-23 13:56, Jan Angermüller wrote:
> I also like Charles' idea of stand-alone plug-ins.
>
> It's very probable that there will be more users,
> if the plugins are stand-alone and don't need any
> group editing, special selecting, etc. - although these
> features maybe very interesting for the professional users.
>
> It would also be much easier to integrate them in Finale with macros,
> if they were directly accessible through Finale keyboard shortcuts
> (i.e. with TG Tools / Menu shortcuts) or via the Finale plug-in menu.
>
> Some suggestions of how to implement this in a very simple way:
>
> - the developer makes a 1:1 filecopy of the "jwlua.fxt" file
> (copy&paste) and
>    renames the new file to the new stand-alone filename, e.g.
> "jafixtimesignatures.fxt"
>
> - the JW Lua script must have the same filename but with the file
> extension .lua
>    (i.e. "jafixtimesignatures.lua") and must be placed in the same
> directory as the .fxt file,
>    so that there are two files for the stand-alone plugin in the FInale
> plugin directory.
>
> - when initializing the fxt plugin on Finale start, JW Lua will scan for
> a .lua file
>     with the same filename.
>    If the .lua file is found, it will be registered as a stand-alone
> plugin in Finale
>    and appear in the Finale plug-in menu with a plugin name as defined
> in the .lua file.
>    If the .lua file is not found and the filename is jwlua.fxt, it will
> be the standard
>    "developer" jw lua plug-in as we know it.
>    If the .lua file is not found and the filename is not jwlua.fxt, it
> will not be recognized
>    as a valid plug-in in Finale (is this possible ?), but simply ignored.
>
> - If it is a standalone plugin, the user interface will simply be the
> interface of the .lua file -
>    or if that doesn't have an interface, the plug-in will perform
> directly without user interface.
>    If it's not a standalone plugin, it will work as we know it now.
>
> Benefits are:
> - not much work of implementing
> - only one plugin .fxt file required for the stand-alone and developer
> version,
>    so only one software project to maintain
> - nearly no effort in creating the stand-alone version for the developer
> - very simple to install for the user (simply put download both files from
> the software developer and put them into the Finale plug-in directory)
>
> Jari, what do you think about it ?
>
> Jan
>
>
>
> Am 18.08.2014 13:56, schrieb Jari Williamsson:
>> Charles,
>>
>> Currently, the end user can add a script to appear in the Finale
>> plug-in menu if running the script through the JW Lua window is an
>> issue. In the future, the end user will get a "Repository" feature
>> that will make it a one-step process to download an install a script
>> (similar to how Sib works). There's currently no plans to provide
>> scripts as stand-alone plug-ins.
>>
>>
>> Best regards,
>>
>> Jari Williamsson
>>
>>
>> On 2014-08-17 23:02, Charles O. Lawrence wrote:
>>> Jari,
>>>
>>> You may have discussed this before and I just missed it.  Is there any
>>> plan in the future for a script compiler or something similar that will
>>> allow JWLua scripts to by run on a system without the JWLua plug-in
>>> installed?  Some people might like a script but, not being of the
>>> developer mindset, do not want the “hassle” of going through the plug-in
>>> to run it.
>>>
>>> Charles
>>>
>>>
>>>
>>> _______________________________________________
>>> JWLua mailing list
>>> JWLua at jwmusic.nu
>>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>>
>>
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>






More information about the JWLua mailing list