go-vgo / robotgo

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

cannot get key state #616

Open everdom opened 12 months ago

everdom commented 12 months ago

I have some AutoHotkey scripts, but since AutoHotkey only supports Windows, I cannot use them on Linux and OSX. I searched for many solutions until I discovered Robotgo. I successfully compiled and ran example programs on Linux and Windows, which made me very excited. I believe Robotgo is a very good cross-platform GUI automation solution. However, when I started converting AHK scripts into Go versions, I found that some API functionalities were missing, such as the ability to retrieve key states. Is it possible to add similar APIs and functionalities to make it easier to migrate AHK to Go?