← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698600]: Mac11.5.2 Mouse not usable (blocked)

 

Question #698600 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698600

    Status: Answered => Open

lisong2 is still having a problem:
thanks the IDE works now, after I totally start over from the beginning

just one more issue, my idea doesn't work for sikuli

my pom:
            <groupId>com.sikulix</groupId>
            <artifactId>sikulixapi</artifactId>
            <version>2.0.5</version>

my code:
Screen s = new Screen();
String imgpath = "/Users/admin/Desktop/";
s.doubleClick(imgpath+"apple.png");
System.out.println("Done");

and I always get:

[error] Mouse: not useable (blocked)
See: https://github.com/RaiMan/SikuliX1/wiki/Allow-SikuliX-actions-on-macOS
Exception in thread "main" org.sikuli.script.SikuliXception: Mouse.init: Mouse not useable (blocked) - Screenshots might not work either!
	at org.sikuli.script.Screen.initScreens(Screen.java:184)
	at org.sikuli.script.Screen.<init>(Screen.java:198)


can you please help?

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