View Single Post
  #2  
Old 07-01-2008, 10:03 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Try the following code, it should do what you ant:
Code:
numberCycle = viz.cycle([60, 69, 52, 9, 55, 58, 10, 18, 56])
def PrintNumber():
	print numberCycle.next()
vizact.onkeydown(' ',PrintNumber)
Reply With Quote