This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
jwlua:finaleplugin_properties [2013/11/20 17:06] jariw |
jwlua:finaleplugin_properties [2013/11/21 13:36] jariw |
||
---|---|---|---|
Line 98: | Line 98: | ||
=== ParameterTypes (multiline string) === | === ParameterTypes (multiline string) === | ||
+ | |||
+ | The types to the script parameters. The syntax is similar to the ''SetTypes()'' method when using [[jwlua:uservalueinput|UserInputValue dialog input]]. | ||
+ | |||
+ | Valid types are ''Number'', ''String'', ''Boolean'' and ''NumberedList''. Example: | ||
+ | <code lua>finaleplugin.ParameterTypes = [[ | ||
+ | Number | ||
+ | Boolean | ||
+ | ]]</code> | ||
=== ParameterDescriptions (multiline string) === | === ParameterDescriptions (multiline string) === | ||
+ | |||
+ | The syntax is similar to the ''SetDescriptions()'' method when using [[jwlua:uservalueinput|UserInputValue dialog input]]. | ||
+ | |||
+ | Example: | ||
+ | <code lua>finaleplugin.ParameterDecriptions = [[ | ||
+ | Resize (in percent) | ||
+ | Resize relative | ||
+ | ]]</code> | ||
=== ParameterLists (multiline string) === | === ParameterLists (multiline string) === | ||
- | === ParameterInitValues (multiline string) === | + | The syntax is similar to the ''SetLists()'' method when using [[jwlua:uservalueinput|UserInputValue dialog input]]. |
+ | Example: | ||
+ | <code lua>finaleplugin.ParameterLists = [[ | ||
+ | nil | ||
+ | Yes, No | ||
+ | ]]</code> | ||
+ | |||
+ | === ParameterInitValues (multiline string) === | ||
+ | The syntax is similar to the ''SetInitValues()'' method when using [[jwlua:uservalueinput|UserInputValue dialog input]]. | ||
+ | Example: | ||
+ | <code lua>finaleplugin.ParameterInitValues = [[ | ||
+ | nil | ||
+ | true | ||
+ | ]]</code> | ||