[JW Lua] JWLua Digest, Vol 88, Issue 14

Artem Roschenko roschenkoartem at gmail.com
Sat Feb 19 12:53:34 CET 2022


Unfortunately not, I don't know

For example I tried a JW snippet for RGP FCFontInfo...

local myNumberResult = finale.FCFontInfo.GetSystemTextEncoding()

And received that...

ERROR:
attempt to call field GetSystemTextEncoding' (a nil value)

But in JWLua 0.54 it still works

On Sat, Feb 19, 2022 at 1:00 PM <jwlua-request at jwmusic.nu> wrote:

> Send JWLua mailing list submissions to
>         jwlua at jwmusic.nu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
> or, via email, send a message with subject or body 'help' to
>         jwlua-request at jwmusic.nu
>
> You can reach the person managing the list at
>         jwlua-owner at jwmusic.nu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JWLua digest..."
>
>
> Today's Topics:
>
>    1. Some static methods are gone (Artem Roschenko)
>    2. Re: Some static methods are gone (Robert Patterson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 18 Feb 2022 21:13:14 +0200
> From: Artem Roschenko <roschenkoartem at gmail.com>
> To: jwlua at jwmusic.nu
> Subject: [JW Lua] Some static methods are gone
> Message-ID:
>         <
> CADaj7WM+Z9wMxEWeZcOuPmTFC69pF1AMFWZM4fSOS+kbCr_SRw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> The static functions listed below are gone, but they are still in the PDK
> so I think this is a bug:
>
> FCFontInfo
>     GetSystemTextEncoding()
>
> FCUI
>     GetHiResTimer()
>
> FCBaseline
>     CalcTotalOffset()
>     CalcTotalOffsetForLyricNumber()
>
> Artem.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220218/acec803e/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 18 Feb 2022 13:21:05 -0600
> From: Robert Patterson <robert at robertgpatterson.com>
> To: "The JW Lua script plug-in." <jwlua at jwmusic.nu>
> Subject: Re: [JW Lua] Some static methods are gone
> Message-ID:
>         <CAACnceu-Ma4xLa8AcJ8ZtLwKFNPn2Hg3g+nGG=
> xsAT+hhyC_hQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I will add them. Do you know a way to reflect static functions out of JW
> Lua? I haven't encountered a way to do it. That's why I didn't find them
> all.
>
> (I know how to get non-static methods and properties, as well as classes.)
>
> On Fri, Feb 18, 2022 at 1:15 PM Artem Roschenko <roschenkoartem at gmail.com>
> wrote:
>
> > The static functions listed below are gone, but they are still in the PDK
> > so I think this is a bug:
> >
> > FCFontInfo
> >     GetSystemTextEncoding()
> >
> > FCUI
> >     GetHiResTimer()
> >
> > FCBaseline
> >     CalcTotalOffset()
> >     CalcTotalOffsetForLyricNumber()
> >
> > Artem.
> > _______________________________________________
> > 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/20220218/9d3e7450/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>
> ------------------------------
>
> End of JWLua Digest, Vol 88, Issue 14
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220219/62edd57b/attachment.html>


More information about the JWLua mailing list