sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33797
[Question #269449]: How to select and copy multiple/random files through sikuli?
New question #269449 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269449
I am trying to select multiple random files through Sikuli IDE but not able to select through keyword syntax?
Suppose on C: drive I have one folder TEST 123 and in their folder approx 25 files exists. Now I want to select only 5 files random and copy those files and paste into another folder.
Can anyone please help how can I write my code through keyword functions?
I am trying to first select and click my 1st file and press CTRL button, now I move down and trying to click SHIFT for selecting 2nd file and next next...
This is sample code
================
find("Sample File.png")
click("Sample File.png")
keyDown(Key.CTRL)
type(Key.DOWN)
type(Key.DOWN)
type(Key.DOWN)
type(Key.DOWN)
type(Key.SHIFT)
type("c", KEY_CTRL)
Thanks in advance for the same.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.