powershell - Best way to detect key combination in windows using built in scripting languages -


i thinking of scenario detect key combination [preferably window key + a] using built in scripting languages vb script, powershell script, batch script etc.. there way ?

i love autohotkey create script , detect key combination. fast , easy use , have dozens of key combinations have scripted , use every day.

if must use built-in scripting language, easiest create desired script in whatever language prefer (for ex. powershell). create shortcut run script (for ex. powershell.exe -file "c:\myscript.ps1").

then after testing shortcut , script, go shortcut's properties, , there "shortcut key" field can bind key combination to.

using built in languages bit more cumbersome, , have have separate script , shortcut each key combination. compared autohotkey can combine key combinations 1 file.


Comments

Popular posts from this blog

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -