Reputation: 11211
I'm looking for an AutoHotKey script (or anything else for that matter) that will allow me to associate bringing an application to the forefront with a keyboard shortcut (preferably a Function Key).
Upvotes: 3
Views: 3716
Reputation: 1754
Very basic solution. Create new .ahk script and run. When you press F7 the window will be activated. Edit your hotkey where I labelled it (keep the double colon). Edit the window title that you want activated.
SetTitleMatchMode, 2 ;// matches partial window titles
F7:: ;// hotkey
WinActivate, Firefox ;// activate window with this title
return
Upvotes: 9