JS: 让JS去到该去的地方(

This commit is contained in:
起个名字好难的喵
2025-11-01 17:47:19 +08:00
parent d016a6458d
commit ca01f9b31f
10 changed files with 29 additions and 29 deletions

View File

@@ -1,17 +1,17 @@
(async function () {
keyDown("LWIN");
keyDown("X");
await sleep(50);
keyUp("LWIN");
keyUp("X");
await sleep(3000);
keyPress("LSHIFT");
await sleep(50);
keyPress("LCONTROL");
await sleep(50);
keyPress("U");
await sleep(1000);
keyPress("U");
await sleep(50);
keyPress("RETURN");
})();
(async function () {
keyDown("LWIN");
keyDown("X");
await sleep(50);
keyUp("LWIN");
keyUp("X");
await sleep(3000);
keyPress("LSHIFT");
await sleep(50);
keyPress("LCONTROL");
await sleep(50);
keyPress("U");
await sleep(1000);
keyPress("U");
await sleep(50);
keyPress("RETURN");
})();

View File

@@ -1,13 +1,13 @@
{
"manifest_version": 1,
"name": "关闭计算机",
"version": "1.0",
"description": "用于关闭计算机",
"authors": [
{
"name": "HZYgrandma",
"links": "https://github.com/HZYgrandma"
}
],
"main": "main.js"
{
"manifest_version": 1,
"name": "关闭计算机",
"version": "1.0",
"description": "用于关闭计算机",
"authors": [
{
"name": "HZYgrandma",
"links": "https://github.com/HZYgrandma"
}
],
"main": "main.js"
}

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB