← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680146]: How do I get multiple arguments into a class object that I can use in dictionary functions

 

Question #680146 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680146

RaiMan posted a new comment:
why so complicated?

while(loopvalue > 0):
  if direction == 1:
    type(Key.RIGHT)
  elif direction == 2:
    type(Key.LEFT)
  elif direction == 3:
    type(Key.UP)
  elif direction == 4:
    type(Key.DOWN)
  else:
    break
  loopvalue -= 1

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.