Golang Go语言 Robotgo v0.50.0 发布了, 桌面自动化迎来巨大更新
Robotgo v0.50.0 The Appalachian Mountains 发布了,Golang 跨平台控制鼠标、键盘、位图、屏幕、窗口句柄以及全局事件监听。
项目地址: https://github.com/go-vgo/robotgo
Add
- [NEW] Add simple ocr support
- [NEW] Add max and min window api and win32.h file
- [NEW] Automatic free internal bitmap and add bitmapStr example
- [NEW] Update findBitmap and findColor default tolerance 0.5 to 0.01, [improve find accuracy and time]
- [NEW] Add more Window example
- [NEW] Add cross compile docs
- [NEW] Add free bitmap and tolerance godoc
- [NEW] Add GetForegroundWindow and FindWindow func support
- [NEW] Add bitmap to CBitmap func, Add ToCBitmap example to examples
- [NEW] Add get Scale and GetScaleSize func, get primary display DPI scale factor fix #129, #135 Add Custom DPI Scaling support, Add scale default value, Add scale example
Update
- [NEW] Update README.md [add freeBitmap example]
- [NEW] Optimize findColor and uniform API with findBitmap
- [NEW] Update godoc, CI and README.md
- [NEW] Update CHANGELOG.md
- [NEW] Update examples [add freeBitmap and update findColor]
- [NEW] Optimize bitmap code, optimize args and not try [many methods]
- [NEW] Update getPid type to int32
- [NEW] Update var and other code style, fix non-standard code Update code and update some name
- [NEW] Update pkg to newest
- [NEW] Remove duplicate code and old useless code
- [NEW] Update mouse click and fix moveClick and movesClick args
- [NEW] Update code style use if not try
- [NEW] Update clipboard example
- [NEW] Update typestr use return not else
- [NEW] Update mouse toggle, keytap and savebitmap func args
- [NEW] Update examples remove duplicate code
- [NEW] Update bitmap and other examples
- [NEW] Simplify linux dependency installation commands
- [NEW] Update issue_template.md
- [NEW] Update pull_request_template.md
- [NEW] Move govendor to dep
- [NEW] Update robotgo ci to 1.10.3
Fix
- [FIX] Update active pid to fix #140, fixed linux activePid
- [FIX] Fixed findBitmap and findPic memory leak
- [FIX] Add getPxColor destroyMMBitmap fix memory leak
- [FIX] Fix float args not float32
- [FIX] Fix windows clipboard memory leak
- [FIX] Update macos .a downgrade to 10.10 just warning not exit [fix #102, #128, #134]
- [FIX] use 10.10 to compile .a verifyed multi os
- [FIX] Fix #145 not assert
- [FIX] Fix some warning use supplemental code
See Commits for more details, after Apr 30.
Golang Go语言 Robotgo v0.50.0 发布了, 桌面自动化迎来巨大更新
更多关于Golang Go语言 Robotgo v0.50.0 发布了, 桌面自动化迎来巨大更新的实战系列教程也可以访问 https://www.itying.com/category-94-b0.html
3 回复
🤝, 会一直更新, 更新多少看有没有时间
针对“Golang Go语言 Robotgo v0.50.0 发布了,桌面自动化迎来巨大更新”的帖子,作为IT领域Go语言方面的专家,以下是我的专业回复:
Robotgo v0.50.0的发布确实为桌面自动化领域带来了显著的更新与进步。作为一个由Golang编写的强大桌面自动化库,Robotgo一直以其跨平台、高效、易用的特性受到开发者的青睐。
此次更新可能涵盖了多方面的改进:
- 功能增强:新版本可能增加了更多鼠标、键盘控制功能,优化了屏幕读取、图像处理与识别的准确性,以及提升了进程与窗口管理的灵活性。
- 性能优化:通过底层算法和代码结构的调整,Robotgo v0.50.0在运行效率和响应速度上可能有了显著提升。
- 跨平台兼容性:继续支持Mac OS、Windows及Linux(X11架构),并可能增强了在不同操作系统和硬件架构上的稳定性和兼容性。
- 用户体验:新版本可能提供了更丰富的API文档和示例代码,降低了新手入门难度,并改善了用户在使用过程中的整体体验。
建议开发者及时更新到Robotgo v0.50.0版本,并充分利用其新特性来提升桌面自动化脚本的效率和可靠性。