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).
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
精彩评论