In Windows (XP, 7, 8) how do you quickly assign keyboard shortcuts to launch your favorite applications using autohotkey when the application is active.
In Keyboard utilities, you can launch your favorite applications for fast access, by simply pressing a hotkey.
I was wandering if that could be done using autohotkey as well.
Normally to add a script that when
Ctrl+Alt+N is pressed, Notepad will be launched. You would need to have the following script.
^!n:: Run Notepad
What I want is that when the application is active, pressing
Ctrl + Shift + A should take the path where the application is installed and create a script like above.
So when Command Prompt is active, pressing
Ctrl + Shift + A should create a script like the following.
^!t:: Run C:\WINDOWS\system32\cmd.exe
where C:\WINDOWS\system32\cmd.exe is the path where cmd is installed/located
Ctrl + Shift + T is the keyboard shortcut.