没有合适的资源?快使用搜索试试~ 我知道了~
mouse:通过 CGEvents 对 Ruby 进行高级鼠标操作
共21个文件
rb:7个
h:3个
c:2个
需积分: 5 0 下载量 132 浏览量
2021-06-26
00:17:38
上传
评论
收藏 26KB ZIP 举报
温馨提示
鼠 来自的 mouse.rb 端口,但用 C 进行了清理和重写,以便在跨语言和运行时更具可移植性。 mouse gem 本身并没有那么有用。 但是与用于发现屏幕上事物(如按钮)位置的 gem 相结合,这个 gem 非常强大,可以用于自动功能测试等任务; 这就是项目的目的。 例子 require 'mouse' Mouse.current_position # => #<CGPoint x=873.2 y=345.0> # positions can be given as an array with two points, or a CGPoint Mouse.move_to [10, 10] Mouse.move_to CGPoint.new(10, 10) # optionally specify how long it should take the mouse to move
资源推荐
资源详情
资源评论
收起资源包目录
mouse-master.zip (21个子文件)
mouse-master
mouse.gemspec 1KB
Rakefile 847B
test
helper.rb 43B
cgpoint_test.rb 880B
mouse_test.rb 922B
array_test.rb 240B
.rubocop.yml 135B
.yardopts 100B
README.markdown 5KB
Gemfile 135B
ext
mouse
mouser.h 3KB
mouse.c 30KB
IOHIDEventTypes.h 21KB
extconf.rb 590B
mouser.c 16KB
CGEventAdditions.h 7KB
History.markdown 3KB
.gitignore 75B
certs
markrada26@gmail.com.pem 1KB
lib
mouse.rb 1KB
mouse
version.rb 58B
共 21 条
- 1
资源评论
菊次郎的回南天
- 粉丝: 41
- 资源: 4565
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功