SikuliX1 icon indicating copy to clipboard operation
SikuliX1 copied to clipboard

Type function problem with special characters

Open ManuelLevi opened this issue 4 years ago • 3 comments

Hi everyone,

I seem to be having problems with typing some characters like "/" or ":".

This makes Sikuli close to unusable in a production environment.

I guess I'm doing something wrong on the configuration, but I couldn't find documentation on this.

Is this a common problem?

ManuelLevi avatar May 14 '20 18:05 ManuelLevi

SikuliX version?

Running on Windows?

type() is historically restricted to US-keyboard layout (see the docs), but with latest version on Windows it might work (standard: Settings.AutoDetectKeyboardLayout = true).

If possible use paste() instead.

RaiMan avatar May 15 '20 08:05 RaiMan

Sorry, @RaiMan! I should have included that information from the start, my bad...

I'm running SikuliX-ide 2.0.4 on a macOS Catalina.

I understand this is an old problem, and I believe it might be hindering Sikuli's adoption Worldwide.

In my particular case, even though, being aware of the issue, I would use it myself, using it on my company, or on a collaborative project would be risky as we work with people everywhere in the world.

Is there a plan to improve this? I might be able to help the project.

ManuelLevi avatar Jun 19 '20 12:06 ManuelLevi

I might be able to help the project.

I am rather sure, that similar to the Windows solution (features from the Windows API using JNA) there is a way, to crack this problem with Mac too. But until now, I neither had the inclination nor the time (based on my private priorities ;-) to dive into a possible solution.

So you are really welcome to make a proposal for a solution or even contribute code. I am open to support you with that.

RaiMan avatar Jun 19 '20 13:06 RaiMan