type() is unable to type a path

Asked by Akos Kovacs on 2019-01-22

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

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
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

Manfred Hampl (m-hampl) said : #2

Oops. mistyped the faq number

faq 933

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.