← 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: Answered => Open

Chetan B is still having a problem:
If am using robot class of java to open run command and launch command
prompt
Using Sikuli i am not able to launch cmd.exe using App.open

On Fri, Mar 15, 2019 at 2:52 PM RaiMan <question679226@xxxxxxxxxxxxxxxxxxxxx>
wrote:

> Your question #679226 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/679226
>
>     Status: Open => Answered
>
> RaiMan proposed the following answer:
> the only thing I can see, is that you are mixing the SikuliX AWT Robot
> (type()) with your own Robot instance.
>
> Not sure what that might do.
>
> 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);
>
> BTW: 1.1.2 is no longer supported for such special cases.
> Use 1.1.4 snapshot
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/679226/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/679226
>
> You received this question notification because you asked the question.
>

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