Add files via upload

This commit is contained in:
Namhyeon Go 2021-08-10 20:39:27 +09:00 committed by GitHub
parent 9c024cf5e1
commit 922dd56410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 646 additions and 572 deletions

26
lib/autoitx.js Normal file
View File

@ -0,0 +1,26 @@
////////////////////////////////////////////////////////////////////////
// AutoItX3.Control API
////////////////////////////////////////////////////////////////////////
var AutoItXObject = function() {
this.interface = null;
this.create = function() {
try {
this.interface = CreateObject("AutoItX3.Control");
return this;
} catch (e) {
console.error("AutoItXObject.create() ->", e.message);
}
};
this.getInterface = function() {
return this.interface;
};
this.create();
};
exports.create = function() {
return new AutoItXObject();
};

File diff suppressed because it is too large Load Diff

24
lib/toolkit.js Normal file
View File

@ -0,0 +1,24 @@
////////////////////////////////////////////////////////////////////////
// WelsonJS.Toolkit API
////////////////////////////////////////////////////////////////////////
var ToolkitObject = function() {
this.interface = null;
this.create = function() {
try {
this.interface = CreateObject("WelsonJS.Toolkit");
return this;
} catch (e) {
console.error("ToolkitObject.create() ->", e.message);
}
};
this.getInterface = function() {
return this.interface;
};
};
exports.create = function() {
return new ToolkitObject();
};