[JW Lua] GetPath on MAC

Bart Visser bartvisser at me.com
Tue Nov 28 13:08:59 CET 2017


Hi Chris  

If I remember correctly, this could be a problem of Finale 2014d. After programmatically switching to another app and than back, Finale doesn’t get the focus back (it can’t find the menu, document, etc.). I had the same thing with a Keyboard Meastro macro. There is no fix except manually switching to Finale. I think it’s solved in Finale 25 (haven’t run into the problem) but I haven’t tested it.  

Cheers,  

Bart  




Op 28 november 2017 om 13:03:53, Simon Leclerc (simon at prodsl.ca(mailto:simon at prodsl.ca)) schreef:

> Hi Chris,  
>  
> I’m on a Mac (and I speak french).  
> Do you want to send me your script so that I can check on my side if I see something wrong?
>  
> I experimented a lot with FCDocuments and path recently…  
>  
>  
>  
> > On Nov 28, 2017, at 2:47 AM, Chris <marcel.denio at gmail.com(mailto:marcel.denio at gmail.com)> wrote:  
> > Hello Jari and all
> >  
> > A user tells me about a problem of one of my scripts on MAC with the French version 2014d.
> > I could see that this comes from the function "GetPath" (FCDocument).
> >  
> > That's what happens :
> > - Loading a document in Finale
> > - Script execution (no problem)
> > - Switch to another application
> > - Back to Finale
> > - Script execution : "GetPath" return "Untitled (id=1)" but we have access to the document
> >  
> > Unfortunately according to the user,
> > this does not happen every time and working on PC, I can't do more tests.
> >  
> > Best regards
> >  
> > Chris
> > _______________________________________________
> > JWLua mailing list
> > JWLua at jwmusic.nu(mailto:JWLua at jwmusic.nu)
> > http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>  
>  
>  
>  
>  
> Simon Leclerc  
> 60, Mirabelle
> Ste-Agathe-des-Monts, Québec
> J8C 0W9
> simon at prodsl.ca(mailto:simon at prodsl.ca)
>  
>  
>  
>  
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20171128/74776a94/attachment.htm>


More information about the JWLua mailing list