Skip to content

Commit

Permalink
[企业版]集群控制中心示例
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo committed Aug 10, 2024
1 parent b06f174 commit 8a1d951
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions [企业版]集群控制中心示例.js
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)

0 comments on commit 8a1d951

Please sign in to comment.