← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- If am using robot class of java to open run command and launch
command prompt

I have seen that of course.

That is why I asked:
Why don't you use the SikuliX features like

type("r", Key.WIN)

instead of
  robot.keyPress(KeyEvent.VK_WINDOWS);
            robot.keyPress(KeyEvent.VK_R);
            robot.keyRelease(KeyEvent.VK_WINDOWS);
            robot.keyRelease(KeyEvent.VK_R);

the idea is to get rid of your own Robot instance.

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