源码快照 @ 2026-09-02 (source-only, 剔除非源码素材)

This commit is contained in:
agent-radar
2026-09-02 01:05:41 +08:00
commit 04bac1f6e2
2200 changed files with 489415 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
$ErrorActionPreference = "Stop"
Add-Type @"
using System;
using System.Runtime.InteropServices;
public static class OpenWorkKeyboard {
[DllImport("user32.dll")]
public static extern void keybd_event(byte virtualKey, byte scanCode, uint flags, UIntPtr extraInfo);
}
"@
$keyUp = 0x0002
$alt = 0x12
$tab = 0x09
try {
[OpenWorkKeyboard]::keybd_event($alt, 0, 0, [UIntPtr]::Zero)
[OpenWorkKeyboard]::keybd_event($tab, 0, 0, [UIntPtr]::Zero)
[OpenWorkKeyboard]::keybd_event($tab, 0, $keyUp, [UIntPtr]::Zero)
Start-Sleep -Seconds 8
}
finally {
[OpenWorkKeyboard]::keybd_event($alt, 0, $keyUp, [UIntPtr]::Zero)
}