开发者

Autohotkey Script to reliably bring an application to the forefront

开发者 https://www.devze.com 2023-03-05 05:32 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消