├── .gitignore ├── Windows-Notification-Sound-Modification-Script.ps1 ├── README.md └── EventLabels.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.pdf -------------------------------------------------------------------------------- /Windows-Notification-Sound-Modification-Script.ps1: -------------------------------------------------------------------------------- 1 | <# 2 | Author: AkagawaTsurunaki 3 | #> 4 | 5 | function ReadEventLabelsFromJsonFile { 6 | param () 7 | $eventLabelsJsonFilePath = '.\EventLabels.json' 8 | if (Test-Path $eventLabelsJsonFilePath) { 9 | return Get-Content -Path $eventLabelsJsonFilePath -Raw -Encoding UTF8 | ConvertFrom-Json 10 | } else { 11 | throw [System.IO.FileNotFoundException] "$eventLabelsJsonFilePath not found." 12 | } 13 | } 14 | 15 | function GetAllToneFilesInfo { 16 | param ( 17 | [string]$toneFolderPath 18 | ) 19 | $fileHashTable = @{} 20 | $toneFiles = Get-ChildItem -Path $toneFolderPath -Filter *.wav 21 | foreach ($toneFile in $toneFiles) { 22 | $toneFileNameWithoutExtension = [System.IO.Path]::GetFileNameWithoutExtension($toneFile.Name) 23 | $toneFileAbsPath = $toneFile.FullName 24 | $fileHashTable[$toneFileNameWithoutExtension] = $toneFileAbsPath 25 | } 26 | return $fileHashTable 27 | } 28 | 29 | function GetEventLabel { 30 | param ( 31 | [string]$lang, 32 | [string]$eventLabel, 33 | $eventLabels 34 | ) 35 | foreach ($app in $eventLabels) { 36 | foreach ($label in $app.EventLabels) { 37 | if ($lang -eq 'EN' -and $label.EN -eq $eventLabel) { 38 | return @{App=$app.App; id=$label.ID} 39 | } elseif ($lang -eq 'ZH' -and $label.ZH -eq $eventLabel) { 40 | return @{App=$app.App; id=$label.ID} 41 | } 42 | } 43 | } 44 | } 45 | 46 | function CreateAppEventsSchemesNamesByPackageName { 47 | param ( 48 | [string]$tonePackageName 49 | ) 50 | $i = 0 51 | $path = "" 52 | [string]$pkgId = "" 53 | do { 54 | if ($tonePackageName.Length -ge 5) { 55 | $pkgId = $tonePackageName.Substring(0, 5) + $i 56 | } else { 57 | $pkgId = $tonePackageName + $i 58 | } 59 | $path = "HKCU:\AppEvents\Schemes\Names\$pkgId" 60 | $i = $i + 1 61 | } while ( 62 | Test-Path $path 63 | ) 64 | 65 | $pkgId 66 | New-Item -Path $path 67 | New-ItemProperty -Path $path -Name "(Default)" -Value $tonePackageName -PropertyType "String" 68 | return 69 | } 70 | 71 | function SetTone { 72 | param ( 73 | [string]$registryItem, 74 | [string]$toneFilePath 75 | ) 76 | if (!(Test-Path $registryItem)) { 77 | New-Item -Path $registryItem 78 | } 79 | Set-ItemProperty -Path $registryItem -Name "(Default)" -Value $toneFilePath 80 | return Test-Path $registryItem 81 | } 82 | 83 | $eventLabels = ReadEventLabelsFromJsonFile 84 | 85 | $toneFolderPath = Read-Host -Prompt "Please enter the path of the folder that stores notification sounds" 86 | 87 | $tonePackageName = Split-Path $toneFolderPath -Leaf 88 | Write-Host "Tone package" $tonePackageName "found" 89 | 90 | $TonePackageId = CreateAppEventsSchemesNamesByPackageName -tonePackageName $tonePackageName 91 | $TonePackageId = $TonePackageId[0] 92 | 93 | $allToneFilesInfo = GetAllToneFilesInfo -toneFolderPath $toneFolderPath 94 | Write-Host $allToneFilesInfo.Keys.Count "tone file(s) found" 95 | 96 | foreach ($toneFileName in $allToneFilesInfo.Keys) { 97 | $eventLabel = GetEventLabel -lang 'ZH' -eventLabel $toneFileName -eventLabels $eventLabels 98 | if ($eventLabel) { 99 | $registryItem = "HKCU:\AppEvents\Schemes\Apps\" + $eventLabel.App +"\" + $eventLabel.ID + "\" + $TonePackageId 100 | $toneFilePath = $allToneFilesInfo[$toneFileName] 101 | if (SetTone -registryItem $registryItem -toneFilePath $toneFilePath) { 102 | Write-Host "Set $registryItem to $toneFilePath" 103 | } 104 | } 105 | } 106 | 107 | Write-Host "Notification sound package $tonePackageName has been registered in your system successfully" 108 | Write-Host "Note: You need to REBOOT your computer to make effect." 109 | Read-Host "Press any key to exit..." -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Windows 提示音修改脚本 2 | 3 | > 仓库: [AkagawaTsurunaki/Windows-Notification-Sound-Modification-Script (github.com)](https://github.com/AkagawaTsurunaki/Windows-Notification-Sound-Modification-Script) 4 | > 5 | > Github:[AkagawaTsurunaki](https://github.com/AkagawaTsurunaki) 6 | > 7 | > Bilibili:[赤川鶴鳴_Channel](https://space.bilibili.com/1076299680) 8 | 9 | 本 PowerShell 脚本可以按照一定的映射规则将一个文件夹内的提示音文件自动注册至 Windows 系统的声音方案中。 10 | 11 | **⚠️ 2024年8月14日18时前下载此脚本的用户请更新脚本或重新下载,否则遇到提示音包的名称字符串少于 5 的情况,脚本可能会报错。** 12 | 13 | ## 脚本使用方法 14 | 15 | 如果您具有一定的计算机基础,了解了命令行等知识,可以尝试使用此脚本快速设置提示音。 16 | 17 | ### 解压并移动提示音包 18 | 19 | 这里所说的提示音包其实就是存放着以 `.wav` 为后缀的音频文件的文件夹。例如您的一个名为 TendouArisu 语音包,里面装着若干个提示音。那么请将这个语音包复制(或剪切)到 `C:\Windows\Media\` 下(推荐),最后的目录结构如下图所示 20 | 21 | ``` 22 | - C 23 | └─Windows 24 | └─Media 25 | └─TendouArisu 26 | ├─NFP 连接.wav 27 | ├─NFP 完成.wav 28 | └─... 29 | ``` 30 | 31 | 如果您下载的文件是 `.zip` 结尾的,那么请先解压。 32 | 33 | ### 检查您的 Windows Powershell 34 | 35 | 为了确保您能运行此脚本,先在搜索栏输入“Windows PowerShell”,如果您可以找到 Windows PowerShell 这个应用程序,说明您的系统已经安装了 Windows PowerShell。 36 | 37 | 自 Windows 7 开始,Windows PowerShell 已经内置到您的计算机中。请注意,**Powershell 和 Windows Powershell 并不是一个东西**,我们需要的是 Windows PowerShell。 38 | 39 | 如果您的系统没有安装 Windows PowerShell,请自行下载安装。 40 | 41 | ### 更改 Windows PowerShell 执行策略 42 | 43 | 在搜索栏输入“Windows PowerShell”,以**管理员权限**运行 Windows PowerShell,在弹出的窗口内输入命令 44 | 45 | ```powershell 46 | set-ExecutionPolicy RemoteSigned 47 | ``` 48 | 49 | 按下 `Enter` 键后,会显示如下字样 50 | 51 | ``` 52 | 执行策略更改 53 | 执行策略可帮助你防止执行不信任的脚本。更改执行策略可能会产生安全风险... 54 | 是否要更改执行策略? 55 | [Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S]暂停(S) [?]帮助(默认值为“N”): 56 | ``` 57 | 58 | 此时,请输入“A”,按下 `Enter` 键后可以关闭此窗口。 59 | 60 | 如果没有显示此字样,可能是因为您的 PowerShell 并没有自动将结果返回,但实际上已经设置完成。 61 | 62 | **注意:** 63 | 64 | 1. 必须以**管理员权限**运行,否则无法修改 Windows PowerShell 的执行策略。 65 | 2. **必须使用 Windows PowerShell** 而不是 PowerShell。 66 | 67 | ### 运行脚本 68 | 69 | 在 Windows 系统中,右键“Windows-Notification-Sound-Modification-Script.ps1”,选择“**使用 PowerShell 运行**”。 70 | 71 | 这会弹出一个窗口,显示如下字样 72 | 73 | ``` 74 | Please enter the path of the folder that stores tones: 75 | ``` 76 | 77 | 这是在提示您输入提示音所在的文件夹路径。这个文件夹里面应该直接就是以 `.wav` 为后缀的音频文件,且文件夹的名称**必须是英文**。 78 | 79 | **输入提示音文件夹所在的路径**,按下 `Enter` 键。看到类似 `Notification sound package $tonePackageName has been registered in your system successfully` 字样且没有红色报错文字字样,就证明提示音已经设置成功了。 80 | 81 | 随后**重启计算机**使系统提示音刷新,不重启会出现提示音无法播放的问题。 82 | 83 | 最后,可以通过“控制面板——更改系统声音——声音方案”**选择已经加载的提示音包**,并点击“应用”使其生效。 84 | 85 | ## 问题 86 | 87 | ### 无法加载文件,因为在此系统上禁止运行脚本 88 | 89 | 此 PowerShell 脚本将会修改您的计算机中的注册表,因此可能会被拒绝执行。如果出现了“无法加载文件,因为在此系统上禁止运行脚本”字样,请依照以下方法授予权限。 90 | 91 | 通过管理员权限运行 Windows PowerShell,然后在窗口中输入命令 92 | 93 | ```powershell 94 | set-ExecutionPolicy RemoteSigned 95 | ``` 96 | 97 | 最后输入“A”即可更改策略,从而再次运行脚本即可。 98 | 99 | 如果您对这些权限存有疑惑或安全隐患等,可以查看源代码。同时关于更多有关的安全策略的信息,请参阅[这里](https:\go.microsoft.com\fwlink\?LinkID=135170)。 100 | 101 | ### 运行脚本时出现错误 102 | 103 | ``` 104 | Line | 105 | 11 | throw [System.I0.FileNotFoundException] "$eventLabelsJsonFile ... 106 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | | .\EventLabels.json not found. 108 | ``` 109 | 110 | 您必须在脚本所在的文件夹启动脚本,在其他路径打开脚本会导致相对路径出错。请找到 `Windows-Notification-Sound-Modification-Script.ps1` 并右键“**使用 PowerShell 运行**”。 111 | 112 | ### 设置后可以移动提示音文件夹吗? 113 | 114 | 注册表中的值不会自动随着您移动文件夹而修改,因此如果您出于某些原因移动了提示音所在的文件夹,请: 115 | 116 | 1. 通过“控制面板——更改系统声音”删除旧的声音方案。 117 | 2. 重新运行脚本。 118 | 3. 输入新的提示音所在的文件夹。 119 | 120 | ### 为什么要将提示音放在 C 盘? 121 | 122 | 理论上您可以将提示音包放置在您的电脑的任何位置上。但是,由于 Windows 特殊的提示音加载机制,导致存放在**非系统盘的提示音在读取有一定几率失效**。所以推荐放在 `C:\Windows\Media` 目录下。 123 | 124 | ### 右键打开脚本弹出的是记事本 125 | 126 | 这可能是由于您没有解压,您必须先把压缩包解压到某个位置才能使用脚本。 127 | 128 | ## 工作原理 129 | 130 | 此脚本用于将提示音自动注册到注册表中。 131 | 132 | 它会过滤出指定文件夹中的以 `.wav` 为后缀的文件,然后按照一定的映射规则将文件名对应的 Windows AppEvent 提示音的注册表项 `HKCU:\AppEvents\Schemes\Apps\$App\$ID\$PackageName` 下的子项进行修改。 133 | 134 | 具体地说,在 `EventLabels.json` 存储了一种模式,它指导着 PowerShell 脚本如何将对应的注册表项设置为提示音的绝对路径。因此,**除非您知道您在做什么,否则不要更改 `EventLabels.json` 文件**。以下是 `EventLabels.json` 文件的树状结构: 135 | 136 | ``` 137 | └─ (array) 138 | └─ (object) 139 | ├─ "App" (string) 140 | └─ "EventLabels" (array) 141 | └─ (object) 142 | ├─ "ID" (string) 143 | ├─ "EN" (string) 144 | └─ "ZH" (string) 145 | ``` 146 | 147 | 例如,如果 PowerShell 脚本发现了 `电池严重短缺警报.wav` 音频文件,提示音所在的文件夹名(提示音包名)为 `AkagawaTsurunaki`,那么它将会: 148 | 149 | 1. 找到 `电池严重短缺警报` 对应的 `App` 字段值为 `.Default`。 150 | 2. 找到 `电池严重短缺警报` 对应的 `ID` 字段值为 `CriticalBatteryAlarm`。 151 | 3. 尝试修改注册表中 `HKCU:\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\Akaga0` 项。注意,注册表只会存储提示音包名的前5个字符和1个自增的数字。 152 | 4. 注册表 `HKCU:\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\Akaga0` 项的 `(Default)` 键值将被设置为 `电池严重短缺警报.wav` 的绝对路径。 153 | 154 | PowerShell 会对每一个提示音音频文件(以 `.wav` 为后缀)进行遍历,并尝试设置。如果提示音文件名不在 `EventLabels.json` 中存在映射,那么将不会被设置。 155 | 156 | 具体的映射规则表请见下表: 157 | 158 | | App | ID | EN | ZH | 159 | | -------- | ---------------------------- | ----------------------------- | -------------------- | 160 | | .Default | .Default | Default Beep | 默认响声 | 161 | | .Default | AppGPFault | Program Error | 程序出错 | 162 | | .Default | CCSelect | Select | 选择 | 163 | | .Default | ChangeTheme | Change Theme | Windows 更改主题 | 164 | | .Default | Close | Close Program | 关闭程序 | 165 | | .Default | CriticalBatteryAlarm | Critical Battery Alarm | 电池严重短缺警报 | 166 | | .Default | DeviceConnect | Device Connect | 设备连接 | 167 | | .Default | DeviceDisconnect | Device Disconnect | 设备中断连接 | 168 | | .Default | DeviceFail | Device Failed to Connect | 设备未能连接 | 169 | | .Default | FaxBeep | New Fax Notification | 新传真通知 | 170 | | .Default | LowBatteryAlarm | Low Battery Alarm | 电池不足警报 | 171 | | .Default | MailBeep | Desktop Mail Notification | 桌面邮件通知 | 172 | | .Default | Maximize | Maximize | 最大化 | 173 | | .Default | MenuCommand | Menu Command | 菜单命令 | 174 | | .Default | MenuPopup | Menu Pop-up | 弹出菜单 | 175 | | .Default | MessageNudge | Message Nudge | 消息闪屏振动 | 176 | | .Default | Minimize | Minimize | 最小化 | 177 | | .Default | Notification.Default | Notification | 通知 | 178 | | .Default | Notification.IM | Instant Message Notification | 即时消息通知 | 179 | | .Default | Notification.Looping.Alarm | Alarm 1 | 警报 1 | 180 | | .Default | Notification.Looping.Alarm10 | Alarm 10 | 警报 10 | 181 | | .Default | Notification.Looping.Alarm2 | Alarm 2 | 警报 2 | 182 | | .Default | Notification.Looping.Alarm3 | Alarm 3 | 警报 3 | 183 | | .Default | Notification.Looping.Alarm4 | Alarm 4 | 警报 4 | 184 | | .Default | Notification.Looping.Alarm5 | Alarm 5 | 警报 5 | 185 | | .Default | Notification.Looping.Alarm6 | Alarm 6 | 警报 6 | 186 | | .Default | Notification.Looping.Alarm7 | Alarm 7 | 警报 7 | 187 | | .Default | Notification.Looping.Alarm8 | Alarm 8 | 警报 8 | 188 | | .Default | Notification.Looping.Alarm9 | Alarm 9 | 警报 9 | 189 | | .Default | Notification.Looping.Call | Incoming Call Notification 1 | 来电通知 1 | 190 | | .Default | Notification.Looping.Call10 | Incoming Call Notification 10 | 来电通知 10 | 191 | | .Default | Notification.Looping.Call2 | Incoming Call Notification 2 | 来电通知 2 | 192 | | .Default | Notification.Looping.Call3 | Incoming Call Notification 3 | 来电通知 3 | 193 | | .Default | Notification.Looping.Call4 | Incoming Call Notification 4 | 来电通知 4 | 194 | | .Default | Notification.Looping.Call5 | Incoming Call Notification 5 | 来电通知 5 | 195 | | .Default | Notification.Looping.Call6 | Incoming Call Notification 6 | 来电通知 6 | 196 | | .Default | Notification.Looping.Call7 | Incoming Call Notification 7 | 来电通知 7 | 197 | | .Default | Notification.Looping.Call8 | Incoming Call Notification 8 | 来电通知 8 | 198 | | .Default | Notification.Looping.Call9 | Incoming Call Notification 9 | 来电通知 9 | 199 | | .Default | Notification.Mail | New Mail Notification | 新邮件通知 | 200 | | .Default | Notification.Proximity | NFP Completion | NFP 完成 | 201 | | .Default | Notification.Reminder | Calendar Reminder | 日历提醒 | 202 | | .Default | Notification.SMS | New Text Message Notification | 新短信通知 | 203 | | .Default | Open | Open Program | 打开程序 | 204 | | .Default | PrintComplete | Print Complete | 打印结束 | 205 | | .Default | ProximityConnection | NFP Connection | NFP 连接 | 206 | | .Default | RestoreDown | Restore Down | 向下还原 | 207 | | .Default | RestoreUp | Restore Up | 向上还原 | 208 | | .Default | ShowBand | Show Toolbar Band | 显示工具栏区 | 209 | | .Default | SystemAsterisk | Asterisk | 星号 | 210 | | .Default | SystemExclamation | Exclamation | 感叹号 | 211 | | .Default | SystemExit | Exit Windows | Windows 退出 | 212 | | .Default | SystemHand | Critical Stop | 关键性停止 | 213 | | .Default | SystemNotification | System Notification | 系统通知 | 214 | | .Default | SystemQuestion | Question | 问题 | 215 | | .Default | WindowsLogoff | Windows Logoff | Windows 注销 | 216 | | .Default | WindowsLogon | Windows Logon | Windows 登录 | 217 | | .Default | WindowsUAC | Windows User Account Control | Windows 用户账户控制 | 218 | | .Default | WindowsUnlock | Windows Unlock | Windows 解锁 | 219 | | Explorer | ActivatingDocument | Complete Navigation | 完成导航 | 220 | | Explorer | BlockedPopup | Blocked Pop-up Window | 阻止的弹出窗口 | 221 | | Explorer | EmptyRecycleBin | Empty Recycle Bin | 清空回收站 | 222 | | Explorer | FeedDiscovered | Feed Discovered | 已发现源 | 223 | | Explorer | MoveMenuItem | Move Menu Item | 移动菜单项 | 224 | | Explorer | Navigating | Start Navigation | 启动导航 | 225 | | Explorer | SecurityBand | Information Bar | 通知栏 | 226 | | sapisvr | DisNumbersSound | Disambiguation Numbers | 消除歧义号码 | 227 | | sapisvr | HubOffSound | Off | 关闭 | 228 | | sapisvr | HubOnSound | On | 启用 | 229 | | sapisvr | HubSleepSound | Sleep | 睡眠 | 230 | | sapisvr | MisrecoSound | Misrecognition | 误识别 | 231 | | sapisvr | PanelSound | Disambiguation Panel | 消除歧义面板 | 232 | -------------------------------------------------------------------------------- /EventLabels.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "App": ".Default", 4 | "EventLabels": [ 5 | { 6 | "ID": ".Default", 7 | "EN": "Default Beep", 8 | "ZH": "默认响声" 9 | }, 10 | { 11 | "ID": "AppGPFault", 12 | "EN": "Program Error", 13 | "ZH": "程序出错" 14 | }, 15 | { 16 | "ID": "CCSelect", 17 | "EN": "Select", 18 | "ZH": "选择" 19 | }, 20 | { 21 | "ID": "ChangeTheme", 22 | "EN": "Change Theme", 23 | "ZH": "Windows 更改主题" 24 | }, 25 | { 26 | "ID": "Close", 27 | "EN": "Close Program", 28 | "ZH": "关闭程序" 29 | }, 30 | { 31 | "ID": "CriticalBatteryAlarm", 32 | "EN": "Critical Battery Alarm", 33 | "ZH": "电池严重短缺警报" 34 | }, 35 | { 36 | "ID": "DeviceConnect", 37 | "EN": "Device Connect", 38 | "ZH": "设备连接" 39 | }, 40 | { 41 | "ID": "DeviceDisconnect", 42 | "EN": "Device Disconnect", 43 | "ZH": "设备中断连接" 44 | }, 45 | { 46 | "ID": "DeviceFail", 47 | "EN": "Device Failed to Connect", 48 | "ZH": "设备未能连接" 49 | }, 50 | { 51 | "ID": "FaxBeep", 52 | "EN": "New Fax Notification", 53 | "ZH": "新传真通知" 54 | }, 55 | { 56 | "ID": "LowBatteryAlarm", 57 | "EN": "Low Battery Alarm", 58 | "ZH": "电池不足警报" 59 | }, 60 | { 61 | "ID": "MailBeep", 62 | "EN": "Desktop Mail Notification", 63 | "ZH": "桌面邮件通知" 64 | }, 65 | { 66 | "ID": "Maximize", 67 | "EN": "Maximize", 68 | "ZH": "最大化" 69 | }, 70 | { 71 | "ID": "MenuCommand", 72 | "EN": "Menu Command", 73 | "ZH": "菜单命令" 74 | }, 75 | { 76 | "ID": "MenuPopup", 77 | "EN": "Menu Pop-up", 78 | "ZH": "弹出菜单" 79 | }, 80 | { 81 | "ID": "MessageNudge", 82 | "EN": "Message Nudge", 83 | "ZH": "消息闪屏振动" 84 | }, 85 | { 86 | "ID": "Minimize", 87 | "EN": "Minimize", 88 | "ZH": "最小化" 89 | }, 90 | { 91 | "ID": "Notification.Default", 92 | "EN": "Notification", 93 | "ZH": "通知" 94 | }, 95 | { 96 | "ID": "Notification.IM", 97 | "EN": "Instant Message Notification", 98 | "ZH": "即时消息通知" 99 | }, 100 | { 101 | "ID": "Notification.Looping.Alarm", 102 | "EN": "Alarm 1", 103 | "ZH": "警报 1" 104 | }, 105 | { 106 | "ID": "Notification.Looping.Alarm10", 107 | "EN": "Alarm 10", 108 | "ZH": "警报 10" 109 | }, 110 | { 111 | "ID": "Notification.Looping.Alarm2", 112 | "EN": "Alarm 2", 113 | "ZH": "警报 2" 114 | }, 115 | { 116 | "ID": "Notification.Looping.Alarm3", 117 | "EN": "Alarm 3", 118 | "ZH": "警报 3" 119 | }, 120 | { 121 | "ID": "Notification.Looping.Alarm4", 122 | "EN": "Alarm 4", 123 | "ZH": "警报 4" 124 | }, 125 | { 126 | "ID": "Notification.Looping.Alarm5", 127 | "EN": "Alarm 5", 128 | "ZH": "警报 5" 129 | }, 130 | { 131 | "ID": "Notification.Looping.Alarm6", 132 | "EN": "Alarm 6", 133 | "ZH": "警报 6" 134 | }, 135 | { 136 | "ID": "Notification.Looping.Alarm7", 137 | "EN": "Alarm 7", 138 | "ZH": "警报 7" 139 | }, 140 | { 141 | "ID": "Notification.Looping.Alarm8", 142 | "EN": "Alarm 8", 143 | "ZH": "警报 8" 144 | }, 145 | { 146 | "ID": "Notification.Looping.Alarm9", 147 | "EN": "Alarm 9", 148 | "ZH": "警报 9" 149 | }, 150 | { 151 | "ID": "Notification.Looping.Call", 152 | "EN": "Incoming Call Notification 1", 153 | "ZH": "来电通知 1" 154 | }, 155 | { 156 | "ID": "Notification.Looping.Call10", 157 | "EN": "Incoming Call Notification 10", 158 | "ZH": "来电通知 10" 159 | }, 160 | { 161 | "ID": "Notification.Looping.Call2", 162 | "EN": "Incoming Call Notification 2", 163 | "ZH": "来电通知 2" 164 | }, 165 | { 166 | "ID": "Notification.Looping.Call3", 167 | "EN": "Incoming Call Notification 3", 168 | "ZH": "来电通知 3" 169 | }, 170 | { 171 | "ID": "Notification.Looping.Call4", 172 | "EN": "Incoming Call Notification 4", 173 | "ZH": "来电通知 4" 174 | }, 175 | { 176 | "ID": "Notification.Looping.Call5", 177 | "EN": "Incoming Call Notification 5", 178 | "ZH": "来电通知 5" 179 | }, 180 | { 181 | "ID": "Notification.Looping.Call6", 182 | "EN": "Incoming Call Notification 6", 183 | "ZH": "来电通知 6" 184 | }, 185 | { 186 | "ID": "Notification.Looping.Call7", 187 | "EN": "Incoming Call Notification 7", 188 | "ZH": "来电通知 7" 189 | }, 190 | { 191 | "ID": "Notification.Looping.Call8", 192 | "EN": "Incoming Call Notification 8", 193 | "ZH": "来电通知 8" 194 | }, 195 | { 196 | "ID": "Notification.Looping.Call9", 197 | "EN": "Incoming Call Notification 9", 198 | "ZH": "来电通知 9" 199 | }, 200 | { 201 | "ID": "Notification.Mail", 202 | "EN": "New Mail Notification", 203 | "ZH": "新邮件通知" 204 | }, 205 | { 206 | "ID": "Notification.Proximity", 207 | "EN": "NFP Completion", 208 | "ZH": "NFP 完成" 209 | }, 210 | { 211 | "ID": "Notification.Reminder", 212 | "EN": "Calendar Reminder", 213 | "ZH": "日历提醒" 214 | }, 215 | { 216 | "ID": "Notification.SMS", 217 | "EN": "New Text Message Notification", 218 | "ZH": "新短信通知" 219 | }, 220 | { 221 | "ID": "Open", 222 | "EN": "Open Program", 223 | "ZH": "打开程序" 224 | }, 225 | { 226 | "ID": "PrintComplete", 227 | "EN": "Print Complete", 228 | "ZH": "打印结束" 229 | }, 230 | { 231 | "ID": "ProximityConnection", 232 | "EN": "NFP Connection", 233 | "ZH": "NFP 连接" 234 | }, 235 | { 236 | "ID": "RestoreDown", 237 | "EN": "Restore Down", 238 | "ZH": "向下还原" 239 | }, 240 | { 241 | "ID": "RestoreUp", 242 | "EN": "Restore Up", 243 | "ZH": "向上还原" 244 | }, 245 | { 246 | "ID": "ShowBand", 247 | "EN": "Show Toolbar Band", 248 | "ZH": "显示工具栏区" 249 | }, 250 | { 251 | "ID": "SystemAsterisk", 252 | "EN": "Asterisk", 253 | "ZH": "星号" 254 | }, 255 | { 256 | "ID": "SystemExclamation", 257 | "EN": "Exclamation", 258 | "ZH": "感叹号" 259 | }, 260 | { 261 | "ID": "SystemExit", 262 | "EN": "Exit Windows", 263 | "ZH": "Windows 退出" 264 | }, 265 | { 266 | "ID": "SystemHand", 267 | "EN": "Critical Stop", 268 | "ZH": "关键性停止" 269 | }, 270 | { 271 | "ID": "SystemNotification", 272 | "EN": "System Notification", 273 | "ZH": "系统通知" 274 | }, 275 | { 276 | "ID": "SystemQuestion", 277 | "EN": "Question", 278 | "ZH": "问题" 279 | }, 280 | { 281 | "ID": "WindowsLogoff", 282 | "EN": "Windows Logoff", 283 | "ZH": "Windows 注销" 284 | }, 285 | { 286 | "ID": "WindowsLogon", 287 | "EN": "Windows Logon", 288 | "ZH": "Windows 登录" 289 | }, 290 | { 291 | "ID": "WindowsUAC", 292 | "EN": "Windows User Account Control", 293 | "ZH": "Windows 用户账户控制" 294 | }, 295 | { 296 | "ID": "WindowsUnlock", 297 | "EN": "Windows Unlock", 298 | "ZH": "Windows 解锁" 299 | } 300 | ] 301 | }, 302 | { 303 | "App": "Explorer", 304 | "EventLabels": [ 305 | { 306 | "ID": "ActivatingDocument", 307 | "EN": "Complete Navigation", 308 | "ZH": "完成导航" 309 | }, 310 | { 311 | "ID": "BlockedPopup", 312 | "EN": "Blocked Pop-up Window", 313 | "ZH": "阻止的弹出窗口" 314 | }, 315 | { 316 | "ID": "EmptyRecycleBin", 317 | "EN": "Empty Recycle Bin", 318 | "ZH": "清空回收站" 319 | }, 320 | { 321 | "ID": "FeedDiscovered", 322 | "EN": "Feed Discovered", 323 | "ZH": "已发现源" 324 | }, 325 | { 326 | "ID": "MoveMenuItem", 327 | "EN": "Move Menu Item", 328 | "ZH": "移动菜单项" 329 | }, 330 | { 331 | "ID": "Navigating", 332 | "EN": "Start Navigation", 333 | "ZH": "启动导航" 334 | }, 335 | { 336 | "ID": "SecurityBand", 337 | "EN": "Information Bar", 338 | "ZH": "通知栏" 339 | } 340 | ] 341 | }, 342 | { 343 | "App": "sapisvr", 344 | "EventLabels": [ 345 | { 346 | "ID": "DisNumbersSound", 347 | "EN": "Disambiguation Numbers", 348 | "ZH": "消除歧义号码" 349 | }, 350 | { 351 | "ID": "HubOffSound", 352 | "EN": "Off", 353 | "ZH": "关闭" 354 | }, 355 | { 356 | "ID": "HubOnSound", 357 | "EN": "On", 358 | "ZH": "启用" 359 | }, 360 | { 361 | "ID": "HubSleepSound", 362 | "EN": "Sleep", 363 | "ZH": "睡眠" 364 | }, 365 | { 366 | "ID": "MisrecoSound", 367 | "EN": "Misrecognition", 368 | "ZH": "误识别" 369 | }, 370 | { 371 | "ID": "PanelSound", 372 | "EN": "Disambiguation Panel", 373 | "ZH": "消除歧义面板" 374 | } 375 | ] 376 | } 377 | ] --------------------------------------------------------------------------------