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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -