jsayre
11 years agoOccasional Contributor
Windows Shortcuts and JScript
I am trying to create a script for all common windows based shortcuts. This is mainly going to be purposed at giving my windows specific positions like the Win + Left and Win + Right for the anchoring.
I also want to use this for testing how interaction with Explorer ( Win + E) and Run (Win + R) work with our applications while focus on our application.
What I am trying to do right now is do this with LLplayer so i don't have to worry about where the input is happening. I am constantly getting a JScript error because my key format is apparently incorrect. I have searched for a list of valid keys but only found examples of vk_shift and mouse clicks.
Is there somewhere that would have a complete list of valid keys?
Also, Is there anyone who has made a script similar to this?
my current code is pretty simple and looks like this:
I also want to use this for testing how interaction with Explorer ( Win + E) and Run (Win + R) work with our applications while focus on our application.
What I am trying to do right now is do this with LLplayer so i don't have to worry about where the input is happening. I am constantly getting a JScript error because my key format is apparently incorrect. I have searched for a list of valid keys but only found examples of vk_shift and mouse clicks.
Is there somewhere that would have a complete list of valid keys?
Also, Is there anyone who has made a script similar to this?
my current code is pretty simple and looks like this:
Log.Message("Log origin");
LLPlayer.KeyDown(Win, 50);
LLPlayer.KeyDown(Right, 50);
LLPlayer.KeyUp(Right, 50);
LLPlayer.KeyUp(Win, 50);
Log.Message("Location of window moved aligned right")