← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #252980]: Is there a way to long press ALT key .

 

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

Nawar Samir posted a new comment:
Hello,
  
i try to write it:

keyDown(Key.ALT)
type(Key.TAB)
keyUp()

but in Sikulix 2.0.4 API (Eclips, Java). such as:

public class SwitchWindow {
	public static void SelectWindow() {
		Screen s = new Screen ();
		s.KeyDown(Key.ALT);
		s.type(Key.TAB);
		s.keyUp();
		
		
	}

}

But it doesn't work.!!!

Can you help please?

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