Instantly share code, notes, and snippets.

Embed
What would you like to do?
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run("control mmsys.cpl");
wait("サウンド")
WshShell.SendKeys("{DOWN " +
WScript.Arguments.item(0) +
"}%{s}{TAB 3}{ENTER}");
WshShell.Run('restart.bat TrayVolume.exe "C:\\Program Files (x86)\\TrayVolume\\TrayVolume.exe"');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment