sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35514
Re: [Question #273795]: KeyDown and MouseDown together doesn't seem to work
Question #273795 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273795
Description changed to:
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);
I've also tried
imageMatch.keyDown(KeyModifier.CMD);
imageMatch.mouseDown(Button.LEFT);
imageMatch.mouseUp(Button.LEFT);
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.