-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Leo
committed
Aug 10, 2024
1 parent
b06f174
commit 8a1d951
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* 小瓶RPA演示demo,具体api请查看*流程开发文档* | ||
* 官网:https://rpa.pbottle.com/ | ||
* 流程开发文档:https://gitee.com/pbottle/pbottle-rpa/wikis/pages | ||
*/ | ||
|
||
const pbottleRPA = require('./pbottleRPA') | ||
|
||
|
||
//控制中心配置参数从本地 buffer0 中直接读取 | ||
let buffer = pbottleRPA.bufferGet(0) | ||
console.log('控制中心任务参数(json格式):',JSON.parse(buffer)); | ||
|
||
//流程开始 | ||
let resolution = pbottleRPA.getResolution() | ||
console.log('当前电脑屏幕分辨率',resolution) | ||
|