mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-15 03:23:22 +08:00
JS: 让JS去到该去的地方(
This commit is contained in:
@@ -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");
|
||||
})();
|
||||
@@ -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"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user