Question #169938 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169938
Status: Open => Solved
Rahul Misra confirmed that the question is solved:
Got it. Was messing up the use of key modifier in the api.
import org.sikuli.script.*;
public class T3 {
public static void main(String[] args) {
Screen s = new Screen();
try{
App app = new
App("C:\\Users\\rmisra\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe");
//App app = new App("C:\\Program Files\\Internet
Explorer\\iexplore.exe");
app.open();
Thread.sleep(3000);
app.focus();
s.highlight(0);
s.type(null, "d",KeyModifier.ALT);
s.type("http://abc.com" + Key.ENTER);
}
catch(Exception e){
e.printStackTrace();
}
}
}
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp