CTRL-ALT-DEL for VNCRobot

Asked by Rudra

For unlocking desktop via VNCRobot, the following code does not work.

screen.keyDown(Key.CTRL);
screen.keyDown(Key.ALT);
screen.keyDown(Key.DELETE);
screen.keyUp(Key.DELETE);
screen.keyUp(Key.ALT);
screen.keyUp(Key.CTRL);

However, on inspection, it was revealed that for "DEL", 65535 needs to be sent to the VNC server. VNC Robot is sending 65439 instead, which is correctly mapped to 127(DEL).

Does CTRL-ALT-DEL need special handling in VNC robot?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Please test with todays latest 1.1.2 snapshot (Travis build 36).

Together with the fix for the key modifiers I made a change regarding the DEL-Key.

Can you help with this problem?

Provide an answer of your own, or ask Rudra for more information if necessary.

To post a message you must log in.