mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 13:41:05 +00:00
Update chrome.js
This commit is contained in:
parent
b587b31485
commit
01d9115505
|
@ -1207,6 +1207,10 @@ var ChromeObject = function(interfaces) {
|
||||||
Toolkit.sendClick(this.pageId.substring(0, 6), this.baseScreenX + x, this.baseScreenY + y, 1);
|
Toolkit.sendClick(this.pageId.substring(0, 6), this.baseScreenX + x, this.baseScreenY + y, 1);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.vSendKeys = function(s) {
|
||||||
|
Toolkit.sendKeys(this.pageId.substring(0, 6), s);
|
||||||
|
};
|
||||||
|
|
||||||
this.mouseClick = function(x, y) {
|
this.mouseClick = function(x, y) {
|
||||||
var screenPosition = this.getScreenPosition();
|
var screenPosition = this.getScreenPosition();
|
||||||
this.oAutoIt.callFunction("MouseMove", [screenPosition.x + this.baseScreenX + x, screenPosition.y + this.baseScreenY + y]);
|
this.oAutoIt.callFunction("MouseMove", [screenPosition.x + this.baseScreenX + x, screenPosition.y + this.baseScreenY + y]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user