Difference between revisions of "Api.cues"

From Light Forge Wiki
Jump to: navigation, search
(Created page with "=Methods= ==getCuelistCount== '''getCuelistCount() As Integer''' Returns the number of cuelists in this show. Usage: cuelistCount = api.cues.getCuelistCount() print(c...")
 
(Methods)
Line 18: Line 18:
 
   cuelistLength = api.cues.getCuelistLength()
 
   cuelistLength = api.cues.getCuelistLength()
 
   print(cuelistLength)
 
   print(cuelistLength)
 +
 +
==getCuelistIndex==
 +
'''getCuelistIndex() As Integer'''
 +
 +
Returns the index of the current cuelist.
 +
 +
Usage:
 +
  index = api.cues.getCuelistIndex()
 +
  print(index)
 +
 +
==selectCuelist==
 +
'''selectCuelist(index As Integer)'''
 +
 +
Changes to a different cuelist.
 +
 +
Usage:
 +
  api.cues.selectCuelist(2)
 +
  print(api.cues.getCuelistIndex())

Revision as of 17:46, 7 May 2013

Contents

Methods

getCuelistCount

getCuelistCount() As Integer

Returns the number of cuelists in this show.

Usage:

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

getCuelistLength

getCuelistLength() As Double

Returns the length of the current cuelist in seconds or beats

Usage:

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

getCuelistIndex

getCuelistIndex() As Integer

Returns the index of the current cuelist.

Usage:

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

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