← Back to team overview

sikuli-driver team mailing list archive

[Question #273795]: KeyDown and MouseDown together doesn't seem to work

 

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

I'm trying to select several file which on a Mac requires pressing CMD key and then clicking. 

What's happening that ONLY one file is selected at a time. Which makes me believe that sikulix is not performing the two actions together. Any help is appreciated, have been experimenting for almost the whole day.

for (String f : allFiles) {
  imageMatch = smallerRegion.find(f);
  screen.keyDown(KeyModifier.CMD);
  imageMatch.click();
}
screen.keyUp(KeyModifier.CMD);






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