type() is unable to type a path

Asked by Akos Kovacs

I need to type a Windows filepath to a field. I use type("C:\_private") in Ruby scripting. I get only character "C" in that field. I am unable to use right click after test is executed.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Why can't you use paste (eventually with additional encoding) as discussed in https://answers.launchpad.net/sikuli/+question/677799

I assume that you use a keyboard different from US-standard layout, probably having the ":" key in a different location.
See also faq 993

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Oops. mistyped the faq number

faq 933

Revision history for this message
Akos Kovacs (plaidshirtakos) said :
#3

Yes, that is worked, I just reported that as a possible bug.

Can you help with this problem?

Provide an answer of your own, or ask Akos Kovacs for more information if necessary.

To post a message you must log in.