GUI自动化工具RobotJS.zip

时间:2022-08-05 02:18:35
【文件属性】:
文件名称:GUI自动化工具RobotJS.zip
文件大小:117KB
文件格式:ZIP
更新时间:2022-08-05 02:18:35
开源项目 RobotJS 是一个 Node.js 的 GUI 自动化工具,可用来控制鼠标、键盘和读取屏幕。 目前自在 Mac Node.js 0.10.31 下测试通过。 示例代码: var robot = require("robotjs"); //Get the mouse position, retuns an object with x and y. var mouse=robot.getMousePos(); console.log("Mouse is at x:" mouse.x " y:" mouse.y); //Move the mouse down by 100 pixels. robot.moveMouse(mouse.x,mouse.y 100); //Left click! robot.mouseClick(); 标签:RobotJS
【文件预览】:
robotjs-master
----.github()
--------ISSUE_TEMPLATE.md(1KB)
--------CONTRIBUTING.md(558B)
----binding.gyp(1KB)
----src()
--------color_find.c(2KB)
--------bitmap_find.c(9KB)
--------pasteboard.c(3KB)
--------xdisplay.c(1KB)
--------io.c(2KB)
--------screen.c(942B)
--------base64.h(1009B)
--------microsleep.h(1KB)
--------zlib_util.c(2KB)
--------uthash.h(61KB)
--------png_io.h(1KB)
--------pasteboard.h(656B)
--------snprintf.h(1KB)
--------color_find.h(2KB)
--------mouse.h(2KB)
--------str_io.h(2KB)
--------MMPointArray.c(1KB)
--------MMBitmap.c(2KB)
--------MMPointArray.h(1KB)
--------str_io.c(6KB)
--------screengrab.h(361B)
--------endian.h(4KB)
--------inline_keywords.h(488B)
--------keypress.c(8KB)
--------bmp_io.h(2KB)
--------os.h(1KB)
--------deadbeef_rand.h(1KB)
--------zlib_util.h(989B)
--------base64.c(3KB)
--------bitmap_find.h(2KB)
--------io.h(1KB)
--------rgb.h(3KB)
--------screengrab.c(4KB)
--------ms_stdint.h(7KB)
--------UTHashTable.h(3KB)
--------UTHashTable.c(2KB)
--------MMBitmap.h(3KB)
--------xdisplay.h(638B)
--------types.h(1KB)
--------alert.h(464B)
--------keycode.c(4KB)
--------mouse.c(11KB)
--------alert.c(6KB)
--------keycode.h(6KB)
--------ms_stdbool.h(536B)
--------robotjs.cc(19KB)
--------bmp_io.c(14KB)
--------snprintf.c(41KB)
--------screen.h(473B)
--------png_io.c(9KB)
--------keypress.h(2KB)
--------deadbeef_rand.c(690B)
----.travis.yml(1KB)
----test()
--------keyboard.js(1KB)
--------integration()
--------bitmap.js(2KB)
--------mouse.js(3KB)
--------screen.js(1KB)
----LICENSE.md(1KB)
----README.md(7KB)
----index.d.ts(1KB)
----appveyor.yml(751B)
----.gitignore(38B)
----index.js(937B)
----package-lock.json(87KB)
----package.json(1KB)

网友评论