sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42238
Re: [Question #623032]: How to type command+w etc. to use MAC shortcut keys.
Question #623032 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/623032
Status: Answered => Open
allanlan is still having a problem:
hi RaiMan,
public static void main(String[] args) throws Exception{
private static Pattern wode = new Pattern("./image/wode.png"); //click item to comfirm that the app actived.
// TODO Auto-generated method stub
Time.sleep(2);
screen.doubleClick(wode);
Time.sleep(3);
screen.type("W",Key.CMD);
screen.type("W",Key.CMD);
}
console log:
init: Bootstrapping class not in BootstrapTypesSingleton.getInstance()[class=class org.python.core.PyBaseString]
[log] DOUBLE CLICK on L(25,101)@S(0)[0,0 1280x800]
[log] ( ⌘ ) TYPE "W"
[log] ( ⌘ ) TYPE "W
Question is :
log ( ⌘ ) TYPE "W, but it didn't run as command+w(this command would close current window.)
app seemed to have no reply even i try to test system apps.Would u pls debug in your mac book? thx a lot.
I don't know how to solve the problem.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.