New question #269784 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269784

Hello, 

I want to copy text for a text box, when I use  type("a", KeyModifier.CTRL) I 
get an error : the function type can only get a string, and when i use keyboard 
the problem is the same . 

My code : 

Target textvalue=new ImageTarget(new 
File("J:\\03_TRAVAIL\\Qualif\\YOB\\text-value.PNG"));
ScreenRegion s = new DesktopScreenRegion();
ScreenRegion sr= s.find(textvalue);
Mouse mouse=new DesktopMouse();
mouse.click(sr.getCenter());
 type("a", KeyModifier.CTRL);
type("c", KeyModifier.CTRL);
text=text = Env.getClipboard();

Thank you for your help 

YO 


-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to