Robotgo v0.90.0 发布了, Go 跨平台 GUI 自动化. 大幅度更新, 更并发和现代的 hook API和多屏支持等

vway · · 779 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。

Robotgo v0.90.0 发布了,Golang 跨平台控制鼠标、键盘、位图、屏幕、窗口句柄以及全局事件监听。 该版本主要增加: 更现代和并发的 gohook API, 尝试多屏支持, 更新 keycode 无需 type 转换, 支持 windows non-POSIX gcc; Linux 下 TypeStr 优化并修复 bug, 增加 ToBitmapBytes() 和多平台 system scale 支持, 导出并增加更多 keycode 支持, 更多 win32 方法导出等一些列的大更新. 增加更多示例、测试代码, 支持 Linux 测试和 Github Actions, 修复 bug 等. 项目地址: https://github.com/go-vgo/robotgo # MT. Rainier ## Add add gohook modern and concurrent API, add new gohook examples, thks for cauefcr Support for multiple screens, add getMousePos() multiple screens support, add move smooth multiple screens support add all platform system scale support, add get screen size test code add screen and bitmap multiple screens support, add int32_t types support update keycode type use uint16 with gohook, not type convert; add ToBitmapBytes func (#204) gohook: sched_yield support for non-POSIX windows gcc add gops test code support, add Process() function test code, add more gops test code add more win32 function export add get mouse color function add uint32 to Chex function support add key_Toggles() c function, add keyTap and keyToggle "...string" parameters support, Fixed #209 add robotgo simple test code add Is64Bit() c and go function add process FindPath() function add keycode "delete" support and fixed "\" error add more keycode support, "up, down, left, right"... export hook keycode and add godoc use robotn fork xgb and update go mod add hook example to robotgo examples update gohook and tt mod file add more and update test code add drag smooth function support and examples add ShowAlert() test support update keypress rand sleep [reduce] and update code style, update c delay default value to 0 add mouse toggle return and add more test add SetDelay function code and update other code add scaled function code add go opencv file add readme.md file add move mouse and move smooth relative code add move mouse and move smooth relative examples add more test code and update go tt mod add more bitmap test code add SaveImg function code add drop function hint print support add more key test code, add more test code, add paste string test code, add xvfb run codecov test add keycode test support add FindPath example code add KeyTap() args[2] delay support add find bitmap nil args support add find color nil args support add drag and move mouse multiple screens support add drag mouse test code Use CGDisplayBounds not CGDisplayPixelsWide, optimize get mac display size … Update TypeStr function, add type delay and speed support update PasteStr function code return error ## Update Update robot info test code and Add go.yml test support use while not for match special key map remove unless x11 special key and sort update go mod pkg update mod vendor remove vendor and update .gitignore update and fmt config.yml, add Linux go test support update Linux CI support x11 test move hook to hook.go update appveyor and test code update version and code style update move mouse smooth test code update clipboard code and add test code update test code and add codecov support update show alert test code update keycode.go update window examples code update test code remove windows alert test move gops code to ps.go update version update unix get title type gofmt go code and update code style add ToBitmapBytes examples code update example code, fixed golint warning update bitmap example code Update CHANGELOG.md update code style update godoc update keytap code and code style update Bitmap struct delete fuzzy api update key examples code add bitmap from string clear api update go mod vendor update go mod pkg not proxy update bitmap example code update test code fixed appveyor CI update test code fixed equal error update hook godoc update event example code update godoc and code style update key example code Update example README.md update and tidy go mod update code remove duplicate code and update godoc update xgb getXid log update GetBounds x11 error log update cgo code and version update TypeString function code [Drop] update key example code Update TypeStr function, optimize x11 type string Update TypeStrDelay function, remove unused code update code fixed x11 type sleep Update key example code use gops to simplify code update key examples code update bitmap examples code update colorpicker and findcolor example code update bitmap example code update robotgo test code, add more test Update README.md rename type names make clearer update types.h code and fixed bug remove unused code fixed x11 build error update robot info test code and appveyor Update README.md, Add more CI badge update gohook pkg and robot info test code Update linux upper code, add more special key support Create go.yml Update go.yml add more test and update go.yml Update dockerfile to go1.13.5 update dockerfile and appveyor.yml Update dockerfile and appveyor.yml to go1.14.3 remove Travis go1.11.x update appveyor and dockerfile to go1.13.1 update dockerfile, go.yml and appveyor.yml to go1.14 update travis.yml to go1.14.x and remove go1.13.x Update and fmt appveyor.ymlu update dockerfile and appveyor to go1.12.5 update appveyor and dockerfile to go1.12.6 add CI go1.13 support update config.yml update and fmt travis.yml Update Travis remove go1.12.x Update issue and pull request template ## Fix Update to utf-code function Fixed #189 Update x11 keypress upper code Fixed #243 type conversion needed in addMouse (#201) update hook, Fixed #202 fatal error: concurrent map writes add key Kind Fixed #203 optimize get title code, Fixed #165 and typo Fixed gohook#3 mouse is_drag error on x11 Fixed #213 AddEvents() can't listen correctly multiple times update clipboard error hand Fixed #212 Update go.mod fixing issue "invalid pseudo-version: does not match version … update keyboard example code, #238 update go mod file Fixed #239 update gops and other mod files fixed bug

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

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