← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

 

Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

Description changed to:
Ctrl+T, Ctrl+T , Ctrl+E.....not working...Plz assist me in this.....

Code:

package sikulipak;

import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.KeyModifier;
import org.sikuli.script.Screen;

public class Project1 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Screen s = new Screen();
		try {
			s.click("img/1518691627055.png");
			s.type("E", KeyModifier.CTRL);
			s.type("A", KeyModifier.CTRL);
			s.type("Internet Explorer" + Key.ENTER);
			s.click("img/1518698297208.png");
			s.type(Key.ENTER);
			

		} catch (FindFailed e) {
			// TODO Auto-generated catch block
			e.printStackTrace();

                }

        }

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