grandMA3 User Manual Publication
GetFaderText(handle, {[string], [integer]})
grandMA3 User Manual » Plugins » Lua Functions - Object API » GetFaderText(handle, {[string], [integer]})
|
Version 2.2
|
Description
The GetFaderText function returns a text string indicating a fader value for the object.
Arguments
-
Handle:
The function takes a handle of the type "light_userdata" as an argument. It can be omitted when using the colon notation on an object. See the examples below. -
Table:
The table can contain two different elements: Token and Index. The important element is the token.- Token: This is used to specify which fader the value is requested for. These are the valid values:
- FaderMaster
- FaderX
- FaderXA
- FaderXB
- FaderTemp
- FaderRate
- FaderSpeed
- FaderHighlight
- FaderLowlight
- FaderSolo
- FaderTime
- Token: This is used to specify which fader the value is requested for. These are the valid values:
Return
-
String:
The function returns a text string indicating the fader value.
Examples
This example prints the fader value text of the Master and Rate faders for the selected sequence.
Lua |
return function() |