← Back to team overview

sikuli-driver team mailing list archive

[Question #708437]: java.lang.IllegalArgumentException: Key: Not supported character:

 

New question #708437 on SikuliX:
https://answers.launchpad.net/sikuli/+question/708437

I am writing this script:

type('r', KEY_WIN)
wait(2)
type("cmd")
type(Key.ENTER)
wait(Pattern("1674648095670-1.png").similar(0.76),10)
type("python")

However, this error is occurring. Does anyone know how to resolve it? :

[error] script [ test_error ] stopped with error in line 6
[error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Key: Not supported character: p )
[error] --- Traceback --- error source first
line: module ( function ) statement 
6: main (  <module> )     type("python")
[error] --- Traceback --- end --------------

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