Difference between revisions of "Api.cues"

From Light Forge Wiki
Jump to: navigation, search
(Methods)
 
Line 7: Line 7:
  
 
Usage:
 
Usage:
  cuelistCount = api.cues.getCuelistCount()
+
<syntaxhighlight lang=python>
  print(cuelistCount)
+
cuelistCount = api.cues.getCuelistCount()
 +
print(cuelistCount)
 +
</syntaxhighlight>
  
 
==getCuelistLength==
 
==getCuelistLength==
Line 16: Line 18:
  
 
Usage:
 
Usage:
  cuelistLength = api.cues.getCuelistLength()
+
<syntaxhighlight lang=python>
  print(cuelistLength)
+
cuelistLength = api.cues.getCuelistLength()
 +
print(cuelistLength)
 +
</syntaxhighlight>
  
 
==getCuelistIndex==
 
==getCuelistIndex==
Line 25: Line 29:
  
 
Usage:
 
Usage:
  index = api.cues.getCuelistIndex()
+
<syntaxhighlight lang=python>
  print(index)
+
index = api.cues.getCuelistIndex()
 +
print(index)
 +
</syntaxhighlight>
  
 
==selectCuelist==
 
==selectCuelist==
Line 34: Line 40:
  
 
Usage:
 
Usage:
  api.cues.selectCuelist(2)
+
<syntaxhighlight lang=python>
  print(api.cues.getCuelistIndex())
+
api.cues.selectCuelist(2)
 +
print(api.cues.getCuelistIndex())
 +
</syntaxhighlight>

Latest revision as of 18:25, 9 May 2013

Contents

[edit] Methods

[edit] getCuelistCount

getCuelistCount() As Integer

Returns the number of cuelists in this show.

Usage:

cuelistCount = api.cues.getCuelistCount()
print(cuelistCount)

[edit] getCuelistLength

getCuelistLength() As Double

Returns the length of the current cuelist in seconds or beats

Usage:

cuelistLength = api.cues.getCuelistLength()
print(cuelistLength)

[edit] getCuelistIndex

getCuelistIndex() As Integer

Returns the index of the current cuelist.

Usage:

index = api.cues.getCuelistIndex()
print(index)

[edit] selectCuelist

selectCuelist(index As Integer)

Changes to a different cuelist.

Usage:

api.cues.selectCuelist(2)
print(api.cues.getCuelistIndex())
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox