← Back to team overview

sikuli-driver team mailing list archive

[Question #633680]: [1.1.2] VNC: Special keys (Key.UP) dont work

 

New question #633680 on Sikuli:
https://answers.launchpad.net/sikuli/+question/633680

Hello

app version:
sikulix1.1.2.jar
win10 64-bit
Vmlite vnc server for android

my code is:
sVnc = vncStart('-.-.-.-', 5901)
sleep(5)
sVnc.type(Key.UP)

then throw a exception:

 sVnc.type(Key.UP)
	at org.sikuli.vnc.VNCRobot.charToXlib(VNCRobot.java:200)
	at org.sikuli.vnc.VNCRobot.typeChar(VNCRobot.java:127)
	at org.sikuli.script.Region.keyin(Region.java:4397)
	at org.sikuli.script.Region.type(Region.java:4265)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot type character ?

without vnc,running on local is normal  
sVnc.type(Key.LEFT), sVnc.type(Key.RIGHT), sVnc.type(Key.DOWN) is woking correctly on local and vnc

Help me please, and i am sorry for my enlish
Thanks in advance!!!


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