{"size": 397, "ext": "js", "max_stars_repo_path": "test/inputtest.js", "max_stars_repo_name": "loverto/mt-sbd-40", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/inputtest.js", "max_issues_repo_name": "loverto/mt-sbd-40", "max_issues_repo_issues_event_min_datetime": "2020-10-06T19:14:09.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-25T19:10:11.000Z", "max_forks_repo_path": "test/inputtest.js", "max_forks_repo_name": "loverto/mt-sbd-40", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 24.8125, "max_line_length": 51, "alphanum_fraction": 0.6801007557}
const dm = require('dm.dll')
const dmExt = require('../src/main/dm.dll.ext')

const windowTitle = "CorelDRAW X6 (64 位)";

function activeInput(windowTitle,input) {
    console.log(windowTitle)
    const hwnd = dm.findWindow("", windowTitle);
    if (dmExt.checkInputMethod(hwnd, input) == 0) {
        dmExt.activeInputMethod(hwnd, input)
    }
}
let input = "US"

activeInput(windowTitle,input);
