Page 1 of 1

get the number of cuelists

Posted: Tue Apr 20, 2010 8:57 am
by MickCrozier
Is there a way to get the number cuelists and look pages there are in a show?

Re: get the number of cuelists

Posted: Wed Apr 21, 2010 5:05 pm
by RobertBell

Code: Select all

print(HC.GetProperty('cuelist','*','name'))
print(HC.GetProperty('lookpage','*','name'))

Re: get the number of cuelists

Posted: Thu Apr 22, 2010 5:10 am
by MickCrozier
Brilliant!

Re: get the number of cuelists

Posted: Sat Apr 24, 2010 9:23 pm
by BrianEvans
Rob showed you how to get the names of the items.

print(HC.GetProperty('system','numcuelists'))
print(HC.GetProperty('system','numlookpages'))

these show you how many of each there are.