problem when use type() to input mac address

Asked by Lynn

Hi ,
I'm now using sikuli X-1.0 rc3(r905) to automate flash testing.
A curious thing is when I try to input a mac address (like 00:21:D8:47:5B:08) using the type() method, it turns out to be
"00;21;d8;4&;5b;08" or "00;2!:d*;47;5B;08". the ":" becomes ";" ,"7" becomes "&" ,as well as other uppercase/lowercase transformations.
Seems something goes wrong with the sequence of all the "SHIFT" keys sent in the string?

How can I make sure the input text is as expected?

Thanks!

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 might have told you about this oldie but goldie:
see faq 933

Revision history for this message
Lynn (cwlme82) said :
#2

Hi RaiMan:

My keyboard is QWETY.
 type() works fine this morning...Maybe its my input language's impact? God knows...
I will use paste() to replace type() in all possible scenarios.
The problem is solved.

Thanks very much!

Revision history for this message
Lynn (cwlme82) said :
#3

Thanks RaiMan, that solved my question.