← Back to team overview

sikuli-driver team mailing list archive

[Question #294104]: KeyModifiers while calling type not working

 

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

Hi.

I'm using the Sikuli Script API for my JavaFX project and wanted to know how to resolve Sikuli not being case-sensitive? I managed to fix the matching error I had, but am quite frustrated with it not being able to recognize the lower/uppercase or underscores of my text on OSX.

I've tried things like:

   s.click("img/searchbar.png");
                           s.wait(0.5);
                           s.keyDown(KeyModifier.CMD);
                           s.type("v");
                           s.wait(0.5);
                           s.keyUp(KeyModifier.CMD);

(including the regular paste function)

as well as 

  s.type("v",KeyModifier.CMD);

and while it is registering -- nothing is happening in my GUI although the text field is clearly activated. Can anyone help me out with this problem? It'd be appreciated!

Thanks,

CodeAssassin

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