Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run("control main.cpl");
WScript.Sleep(500);
WshShell.AppActivate("マウスのプロパティ");
WScript.Sleep(500);
var Keystrokes = " {ENTER}"
WshShell.SendKeys(Keystrokes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment