[JW Lua] Programmaticall open a Finale file

Thomas Weber thomas.weber at notengrafik.com
Mon Sep 7 18:50:34 CEST 2015


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
>
>





More information about the JWLua mailing list