← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #177234]: Backspace x 10

 

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

    Status: Answered => Open

Steen is still having a problem:
click(Pattern("Updatefuldcr.png").targetOffset(79,24))
def myMulti(n, k = Key.BACKSPACE):
      for i in range(n):
          type(k)
 
# usage:
 myMulti(30)) # 30 backspaces
 myMulti(10, Key.DOWN) # 10 down's

i get:
error] Error message: IndentationError: ('unindent does not match any outer indentation level', ('C:\\Users\\X86_Win7\\AppData\\Local\\Temp\\sikuli-tmp5544661324136042328.py', 11, 1, ' myMulti(30)) # 30 backspaces\n'))

your help is appreciated, thank you very much.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.