new(basic.gblib): PUT keyword.

This commit is contained in:
Rodrigo Rodriguez 2022-08-05 19:35:19 -03:00
parent 4e53537228
commit 955843363c
2 changed files with 4 additions and 5 deletions

View file

@ -94,7 +94,6 @@
"google-libphonenumber": "3.2.21",
"googleapis": "75.0.0",
"ibm-watson": "6.1.1",
"jimp": "^0.16.1",
"js-beautify": "1.13.13",
"luxon": "2.0.2",
"mammoth": "^1.4.21",
@ -123,7 +122,6 @@
"request-promise": "4.2.5",
"request-promise-native": "1.0.8",
"rimraf": "3.0.2",
"robotjs": "^0.6.0",
"safe-buffer": "5.2.1",
"scanf": "1.1.2",
"sequelize": "6.5.0",

View file

@ -53,8 +53,7 @@ const alasql = require('alasql');
const PizZip = require("pizzip");
const Docxtemplater = require("docxtemplater");
const pptxTemplaterModule = require('pptxtemplater');
const robot = require('robotjs')
const Jimp = require('jimp')
/**
@ -1492,7 +1491,9 @@ export class SystemKeywords {
// scrcpy
const tesseract = require("node-tesseract-ocr")
const robot = require('robotjs')
const Jimp = require('jimp')
function captureImage({ x, y, w, h }) {
const pic = robot.screen.capture(x, y, w, h)
const width = pic.byteWidth / pic.bytesPerPixel // pic.width is sometimes wrong!