Mltiple selection

Asked by Garima Kumar

Hello team,

in my project i have to select 2 images, manually i can do it will Ctrl key.
but using sikuli how can i accomplish that.

i have tried
1)
click(image1.png)
KeyModifier.CTRL
click(image2.png)
Not behaving as expected.
2)
click(image1.png)
type(KeyModifier.CTRL)
click(image2.png)
[error] TypeError( type(): 1st can't ne coerced to String)

i am expecting it should show me both images selected, but it is not.

Help me to get this done.

Regards
Garima

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

the docs should have told you ;-)

click(image1.png)
click(image2.png, KeyModifier.CTRL)

Revision history for this message
Garima Kumar (garima-bit-mca) said :
#2

Thanks :)