sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57553
Re: [Question #698600]: Mac11.5.2 Mouse not usable (blocked)
Question #698600 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698600
Status: Open => Answered
RaiMan proposed the following answer:
just tested and switched off the accessibility usages before:
public class SikulixTest {
public static void main(String[] args) {
System.out.println("SikulixTest");
System.out.println("SikulixTest screen failing");
Screen screen = null;
try {
screen = new Screen();
} catch (Exception e) {
}
System.out.println("SikulixTest screen ok");
screen = new Screen();
System.out.println("SikulixTest screen used");
screen.hover();
}
}
gives the following output:
SikulixTest
SikulixTest screen failing
[error] Mouse: not useable (blocked)
See: https://github.com/RaiMan/SikuliX1/wiki/Allow-SikuliX-actions-on-macOS
SikulixTest screen ok
SikulixTest screen used
[error] Mouse.move(): Mouse not useable (blocked)
after switching the accessibility rights on again:
SikulixTest
SikulixTest screen failing
SikulixTest screen ok
SikulixTest screen used
and the mouse moves to the center of the screen
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.