[JW Lua] Where to find constants?

Bart Visser bartvisser at me.com
Mon Oct 9 08:14:34 CEST 2017


Hi Robert,

Jari has written a script to list all constants. I’ve attached it to this email.

All the best,


Bart Visser




On 8 oktober 2017 at 15:06:27, Robert Wildling (robertwildling at gmail.com) wrote:
> I have a (probably very basic) technical question: in e.g. the harp gliss
> sample script, there is a finale.WHOLE_NOTE defined, which i assume is a
> constant that defines the length value of a whole note in Finale's EDU.
> I was wondering if it is possible to somehow get all the constants that are
> defined on the finale namespace. Looping over it with this script:
>  
> for key,value in pairs(finale) do print(key,value) end
>  
> only yields the Classes. And searching the PDK online for WHOLE_NOTE does
> not produce any results...
>  
> Or is there any other way to find out which constants are available?
>  
> Thank you!
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: List Constants.lua
Type: application/octet-stream
Size: 1188 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20171009/d8bd7f6b/attachment.obj>


More information about the JWLua mailing list