[JW Lua] More class questions

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Sat Aug 31 00:46:28 CEST 2013


On 2013-08-30 16:08, Charles O. Lawrence wrote:

> I still am having some difficulty finding the
> right property or method to do even simple things, like vertically
> positioning a rest, for instance that I mentioned before.  Figuring out what
> to do and how this TGF frame thing works is certainly not intuitive.

For version 0.04, I'm going to add 2 additional methods to the 
FCNoteEntry to set/get the rest placement directly on the entry's level. 
Finale's way of dealing with movable rests is not just very logical for 
most cases, as you've pointed out.

Think of a TGF frame as the Speedy Entry frame, I think the 
functionality of the Finale tool reflects the data structure.


> This is beyond the scope of the current objectives, I'm sure, but to have
> the editor present to the scripter on the fly a list of valid syntax
> constructs in the current context, similar to what say Visual Studio does,
> would be wonderful.  Am I dreaming?!

I'll see what I can do about this later on. I have a somewhat similar 
feature that I want to add to the Class Browser in the very near future: 
a wizard that creates skeleton code based on the selected context in the 
Class Browser. For example, if you've found the "Visible" property 
"FCNoteEntry", such a wizard should be able to automatically take you 
95% of the way to fill in the code that manipulates the visibility of an 
entry.

Btw, Lua is NOT object oriented (in the terms as C#, C++, Java, etc). It 
can be shaped to behave like a object-oriented language, but it can also 
be shaped into something completely different. That's one of the 
powerful things about Lua. As you might know, the new competing notation 
software currently developed at Steinberg is written with Lua as its 
engine, but I doubt that their dialect of Lua would resemble JW Lua one bit.


Best regards,

Jari Williamsson





More information about the JWLua mailing list