[JW Lua] More questions
Charles O. Lawrence
charlesolawrence at bellsouth.net
Thu Aug 29 18:03:22 CEST 2013
Jari,
I have a few more questions.
I still do not quite understand why some of the classes cannot be
instantiated directly. I made up the following test script that attempts to
construct each of the classes found in the class browser. The ones that
will not work have been commented out. Why do they not work?
FCString required an argument, even though it could be nil. The PDK seemed
to indicate no argument would produce a nil string. There are no methods or
properties available to FCString in the class browser. It does not seem to
be possible to do anything with the string like print it out or determine
its length.
I want to simply set the vertical position of a rest in a measure. I cannot
find a property that will set vertical position. It must be there. What is
it?
Thanks,
Charles Lawrence
--------------------------------------------------------------------
function plugindef()
-- This function and the 'finaleplugin' namespace
-- are both reserved for the plug-in definition.
finaleplugin.Author = "Charles O. Lawrence"
finaleplugin.CategoryTags = "Test"
return "Test Classes", "", ""
end
a = finale.FCArticulation()
a = finale.FCArticulationDef()
a = finale.FCArticulationDefs()
--a = finale.FCArticulations()
b = finale.FCBeatChartElement()
b = finale.FCBeatChartElements()
c = finale.FCCategoryDef()
c = finale.FCCategoryDefs()
--c = finale.FCCell()
c = finale.FCCells()
c = finale.FCCurrentStaffSpec()
c = finale.FCCustomStemMod()
e = finale.FCEntryAlterMod()
e = finale.FCExpression()
e = finale.FCExpressions()
g = finale.FCGroup()
g = finale.FCGroups()
m = finale.FCMeasure()
m = finale.FCMeasures()
m = finale.FCMultiMeasureRest()
m = finale.FCMultiMeasureRestPrefs()
m = finale.FCMultiMeasureRests()
m = finale.FCMultiStaffInstrument()
m = finale.FCMultiStaffInstruments()
m = finale.FCMusicRegion()
--n = finale.FCNote()
--n = finale.FCNoteEntry()
--n = finale.FCNoteEntryCell()
n = finale.FCNoteheadMod()
--n = finale.FCNoteheadMods()
p = finale.FCPage()
p = finale.FCPages()
p = finale.FCPart()
p = finale.FCParts()
p = finale.FCPerformanceMod()
--p = finale.FCPerformanceMods()
s = finale.FCShapeExpressionDef()
s = finale.FCStaff()
s = finale.FCStaffSystem()
s = finale.FCStaffSystems()
s = finale.FCStaves()
s = finale.FCString(nil)
s = finale.FCSystemStaff()
s = finale.FCSystemStaves()
t = finale.FCTempoElement()
t = finale.FCTempoElements()
t = finale.FCTextExpressionDef()
--u = finale.FCUI()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20130829/a532f493/attachment.htm>
More information about the JWLua
mailing list