mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-05-09 00:44:17 +08:00
JS: 让JS去到该去的地方(
This commit is contained in:
17
archive/js/Shutdown/main.js
Normal file
17
archive/js/Shutdown/main.js
Normal file
@@ -0,0 +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");
|
||||
})();
|
||||
13
archive/js/Shutdown/manifest.json
Normal file
13
archive/js/Shutdown/manifest.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "关闭计算机",
|
||||
"version": "1.0",
|
||||
"description": "用于关闭计算机",
|
||||
"authors": [
|
||||
{
|
||||
"name": "HZYgrandma",
|
||||
"links": "https://github.com/HZYgrandma"
|
||||
}
|
||||
],
|
||||
"main": "main.js"
|
||||
}
|
||||
Reference in New Issue
Block a user