[JW Lua] Programmaticall open a Finale file
Charles O. Lawrence
charlesolawrence at bellsouth.net
Mon Sep 7 20:55:16 CEST 2015
Thomas,
I see that there is no example to actually open a Finale document under JW
Lua. Even Jari's example does not display any filename unless only one is
selected.
http://jwmusic.nu/jwplugins/wiki/doku.php?id=jwlua:quickscripts#open_file_na
mes
So, Jari, how does one open a Finale file (MUS/X) from within JW Lua? Does
it require some combination of methods/properties in the FCDocument class as
well? An example would be most welcomed. Thanks,
Charles
-----Original Message-----
From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Thomas Weber
Sent: Monday, September 7, 2015 12:51 PM
To: The JW Lua script plug-in. <jwlua at jwmusic.nu>
Cc: ngb at notengrafik.com
Subject: Re: [JW Lua] Programmaticall open a Finale file
Thanks Charles,
the question is, if I have retrieved a file name of a Finale file, be it via
FCFileOpenDialog or by other means, how do I then actually open then file?
I can open and process e.g. text files with Lua just fine, but I have no
clue how to open Finale files.
Thomas
Am 07.09.2015 um 17:31 schrieb Charles O. Lawrence:
> Thomas,
> Here is a reply from a previous inquiry on the same subject. These
> classes were added in beta 0.22.
>
> Charles,
>
> Thanks for the report! I had built the documention in the wrong way,
> so the FCFileOpenDialog, FCFolderBrowseDialog, etc didn't get any
> documentation. I have now corrected it and uploaded the updated
documentation.
>
> The system dialogs are used in this fashion:
> ---
> local d = finale.FCFileOpenDialog(finenv.UI())
> -- Set up the dialog parameters here
> d:Execute()
> ---
>
>
> On 2015-02-10 00:32, Charles O. Lawrence wrote:
>> Jari,
>>
>> Thanks for the new beta. I just noticed some, AFAIK, new classes for
>> browsing folders, file opening and save as. There does not seem to
>> be any class documentation on how to use these handy new features,
>> but I'm sure they work similar to ones in other products like Visual
>> Studio,
> etc.
>> Charles Lawrence
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>>
>
> -----Original Message-----
> From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Thomas
> Weber
> Sent: Sunday, September 6, 2015 3:50 PM
> To: JW Lua Mailing List <jwlua at jwmusic.nu>
> Subject: [JW Lua] Programmaticall open a Finale file
>
> Dear experts,
>
> if I have the path of a Finale file as a string, how can I make JW Lua
> open it? I see that I can instantiate an FCDocument object, but I
> have no idea how to open an existing file.
>
> Any help is much appreciated.
> Thomas Weber
>
> _______________________________________________
> 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