之前在介绍 Popsel 的时候,说过 hoekey 和 PopSel 的划词搜索做法 这次介绍用鼠标手势 strokeIt + nircmd + PopSel 的用法
说一下流程原理: 1、用 strokeIt 发送热键 Ctrl+C 捕获搜索词 2、用 nircmd 获取剪切板
一、先来个简单的,单个网站,命令序列如下: 热键:Ctrl + C 运行程序: 文件:%hoekeyFolder%\NirCmd.exe 参数:execmd start http://www.google.com/search?q=~$clipboard$
二、结合 PopSel 构造菜单的写法: 运行程序: 文件:%hoekeyFolder%\NirCmd.exe 参数:execmd popsel.exe /n /i PopSearch.ini "~$clipboard$"
上面的:%hoekeyFolder% 参见 http://hi.baidu.com/hyhoekey/blog/item/62aec0d1a71e52da51da4b89.html 不会用的直接写绝对路径
PopSearch.ini 文件的写法,见本博客 PopSel 部分。 |
|