[AHK]针对Everything搜索,可否按crtl+enter直接网络搜索

189 篇文章 4 订阅
105 篇文章 5 订阅

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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值