type("c",KEY_CMD) doesn't work with AZERTY keyboard

Asked by Geert Van der Biest

Dear all,

   As I'm trying out some commands in Sikuli, I also tried to copy some tekst to the clipboard. It seems to me that the commands type("c",KEY_CMD) and type("v",KEY_CMD) don't work as the copy command replaces the highlighted text that has to be copied immediately by a "c" and the clipboard remains empty and the paste command puts a "v" in the field.
   Is it possible that the fact that I'm using an AZERTY keyboard has something to do with it?

Thanks for finding a solution,

Geert

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
Revision history for this message
Geert Van der Biest (geert-vanderbiest) said :
#2

Hello Mr. Hocke,

    I saw the answer before, but it doesn't realy give an alternative for the copy to the clipboard problem, it only gives the advise to paste stuff from the clipboard with paste instead of type. Btw, pressing the button " on an AZERTY keyboard generates a " and not a @-sign as you can see, it might be interpreted in another way by Sikuli as it has to be used in combination with the Shift-button on a querty and without on an Azerty.
    Nevertheless, I found another solution that seems to work perfectly fine,

Thanks,

Geert