Commit 84ee9a7c authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 2c6fceaf
Pipeline #64 canceled with stages
var robot = require("robotjs");
let utils=require('./../utils')
run()
async function run()
{
await robot.moveMouse(38,338)
await robot.mouseClick('left',true)
await utils.leftClick(38,338,true)
await utils.leftClick(1010,551,false)
}
module.exports =
{
run:run
......
var robot = require("robotjs");
async function leftClick(x,y,double) {
await robot.moveMouse(x,y)
await robot.mouseClick('left',double)
}
module.exports =
{
leftClick:leftClick
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment