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
Post a Comment