Skip to content

Commit ca01f9b

Browse files
committed
JS: 让JS去到该去的地方(
1 parent d016a64 commit ca01f9b

File tree

10 files changed

+29
-29
lines changed

10 files changed

+29
-29
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
(async function () {
2-
keyDown("LWIN");
3-
keyDown("X");
4-
await sleep(50);
5-
keyUp("LWIN");
6-
keyUp("X");
7-
await sleep(3000);
8-
keyPress("LSHIFT");
9-
await sleep(50);
10-
keyPress("LCONTROL");
11-
await sleep(50);
12-
keyPress("U");
13-
await sleep(1000);
14-
keyPress("U");
15-
await sleep(50);
16-
keyPress("RETURN");
17-
})();
1+
(async function () {
2+
keyDown("LWIN");
3+
keyDown("X");
4+
await sleep(50);
5+
keyUp("LWIN");
6+
keyUp("X");
7+
await sleep(3000);
8+
keyPress("LSHIFT");
9+
await sleep(50);
10+
keyPress("LCONTROL");
11+
await sleep(50);
12+
keyPress("U");
13+
await sleep(1000);
14+
keyPress("U");
15+
await sleep(50);
16+
keyPress("RETURN");
17+
})();
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
{
2-
"manifest_version": 1,
3-
"name": "关闭计算机",
4-
"version": "1.0",
5-
"description": "用于关闭计算机",
6-
"authors": [
7-
{
8-
"name": "HZYgrandma",
9-
"links": "https://github.com/HZYgrandma"
10-
}
11-
],
12-
"main": "main.js"
1+
{
2+
"manifest_version": 1,
3+
"name": "关闭计算机",
4+
"version": "1.0",
5+
"description": "用于关闭计算机",
6+
"authors": [
7+
{
8+
"name": "HZYgrandma",
9+
"links": "https://github.com/HZYgrandma"
10+
}
11+
],
12+
"main": "main.js"
1313
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)