Skip to content

Instantly share code, notes, and snippets.

@jutememo
Last active October 8, 2015 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jutememo/3260858 to your computer and use it in GitHub Desktop.
Save jutememo/3260858 to your computer and use it in GitHub Desktop.
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