Everything是一款離不開的軟件了,能否擴展它直接搜索網絡內容呢?
解決方案:
啓動ev後,在搜索框輸入內容,然後按熱鍵 ctrl+enter,就會用默認瀏覽器打開 百度來搜哦,具體ahk代碼如下:
#SingleInstance,Force
#IfWinActive ahk_class EVERYTHING
^Enter::
ControlGetText,Keywords,Edit1,A
OutputDebug %Keywords%
run, http://www.baidu.com/s?wd=%Keywords%
return
#IfWinActive
Everything設置
【升級版】當啓動器
;更新地址:https://blog.csdn.net/liuyukuan/article/details/81950299
#SingleInstance,Force
#IfWinActive ahk_class EVERYTHING
^Enter::
ControlGetText,Keywords,Edit1,A
if (Keywords="cmd")
Run %ComSpec%
else if (Keywords="notepad")
Run notepad
else if (Keywords="mspaint")
Run mspaint
else if (Keywords="calc")
Run calc
else
{
OutputDebug %Keywords%
run, http://www.baidu.com/s?wd=%Keywords%
}
return
#IfWinActive