Robotgo v0.80.0 发布了, Go 跨平台 GUI 自动化. 增加异步事件和多组合键监听 hook 支持

vway · · 203 次点击 · 开始浏览    置顶
Robotgo v0.80.0 发布了,Golang 跨平台控制鼠标、键盘、位图、屏幕、窗口句柄以及全局事件监听。 项目地址: https://github.com/go-vgo/robotgo 示例: ``` fmt.Println("--- Please press ctrl + shift + q ---") ok := robotgo.AddEvents("q", "ctrl", "shift") if ok { fmt.Println("add events...") } ``` # Sierra Nevada ### Add - [NEW] Add asynchronous event support - [NEW] Add multiple keypress event listener support - [NEW] Add hook start and end func - [NEW] Add AddEvents, AddMouse, AddMousePos hook function - [NEW] Add mul() scale func and optimize code - [NEW] Refactor AddEvent() func and add keycode.go, update example - [NEW] Add mouse map keycode - [NEW] Add android null file - [NEW] Add AddEvent "center" support - [NEW] Update README.md, Add binding link <br/> - [NEW] Format README.md and docs markdown - [NEW] Update bitmap_save return code - [NEW] Optimize code not defer and remove useless code - [NEW] Update code style and godoc - [NEW] Update go mod vendor - [NEW] Add more event examples - [NEW] add AddEvents ,AddMouse, AddMousePos examples code ### Update - [NEW] Update event example code add print hint - [NEW] Update godoc - [NEW] Update CHANGELOG.md - [NEW] Update .gitignore - [NEW] Update code style and examples - [NEW] Update pkg to newest - [NEW] Update CI add go1.12.x support - [NEW] Move GetText() func code ### Fix - [FIX] Add AddEvents func, Fixed #98, #61, #69... - [FIX] Add asynchronous event support, Fixed #196, #89... - [FIX] add AddMouse func, Fixed #138 - [FIX] Update _Ctype_char to C.char, Fixed go1.12 build error #191 - [FIX] Update hook, Fixed #195 warning and json break bug - [FIX] Fixed color picker, Update README.md and docs See Commits for more details, after Jan 7.

入群交流(该群和以上内容无关):Go中文网 QQ交流群:731990104 或 加微信入微信群:274768166 备注:入群; 公众号:Go语言中文网

203 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传