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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to