[JW Lua] GetMeasurement

Charles O. Lawrence charlesolawrence at bellsouth.net
Tue Apr 21 15:22:45 CEST 2015


Jari,

What does it mean when the documentation says:
PDK_FRAMEWORK_PREFS must be defined to enable this method?

BTW: It is not documented that GetMeasurement() is Lua supported, where
SetMeasurement() is.

Charles

-----Original Message-----
From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Jari Williamsson
Sent: Tuesday, April 21, 2015 5:00 AM
To: The JW Lua script plug-in.
Subject: Re: [JW Lua] GetMeasurement

Chris,

Thanks for the report! It'll be fixed in the next beta.


Best regards,

Jari Williamsson


On 2015-04-21 09:40, Chris wrote:
> Jari
>
> When I run the script below , the string is null after "GetMeasurement"
...
>
> ------------------------------------
> local string = finale.FCString()
> string:SetInteger(1)
> print(string.LuaString)
> print(string:GetMeasurement(finale.MEASUREMENTUNIT_CENTIMETERS))
> print(string.Length,string.LuaString)
> -----------------------------------
>
> Best regards
>
> Chris
>
> _______________________________________________
> 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