Diffence between the text registered in the script ant the text executed

Asked by MAR

Hello,

I want to do a Remote Desktop, the script does:
- Open a Remote Desktop thanks to openApp("mstc.exe") => OK
- Wait the field to enter the text => OK
- Enter the text in the field thanks to : type("terrain1"+Key.ENTER) => NOK
=> The text entered during the execution of the script is terrain& instead of terrain1.
   The "1" is replaced by "&".

Have you an idea of this problem?

Nota: I use Sikuli 1.1.0 / 64-bit

Thank you in advance for your response.

Best regards,
Laurent

Question information

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

should first be a question

Revision history for this message
RaiMan (raimund-hocke) said :
#2

type only works against a US keyboard layout (faq 933)

Revision history for this message
MAR (olimar0613) said :
#3

Thank you for your quick response.
I introduced a script to automatically set the keyboard from FR (AZERTY) to EN/US (QWERTY) during the execution. Now it works.
OK for your first comment.
Best regards