go-vgo / robotgo

RobotGo, Go Native cross-platform RPA and GUI automation @vcaesar
Apache License 2.0
9.56k stars 871 forks source link

International keys (Swedish) #326

Open Solander opened 3 years ago

Solander commented 3 years ago
robotgo.KeyTap("å")
robotgo.KeyTap("ä")
robotgo.KeyTap("ö")

Description

I'm trying to figure out how to use international keys (Swedish in my case) in robotgo. I can't find any information regarding this.

A workaround is to use robotgo.TypeStr("ö") but that makes it difficult to handle modifiers, such as SHIFT.

Any information about this would be greatly appreciated!

vcaesar commented 3 years ago

You need a map[string]string mapping table.