Directory Opus和Everything共同使用设置

有很多人在DO技术讨论群里面问这个问题,我索性整理出来

##用Dopus中打开Everything搜索结果

很简单,只要编辑Everything的设置ini文件,修改以下两行,即可以制定用Dopus打开Everything的搜索结果

1
2
open_folder_path_command=$exec("Dopus安装路径\dopusrt.exe" /cmd GO "$parent(%1)" NewTab)
open_folder_command=$exec("Dopus安装路径\dopusrt.exe" /cmd GO "%1" NewTab)

##在Dopus中添加Everything按钮

下载这个文件,将压缩包内所有文件解压到Everything的安装路径

复制以下代码(如果你的Everything安装路径不同请稍作修改)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<button display="both" label_pos="right" separate="yes" type="three_button">
<label>Everything</label>
<icon1>#default:find</icon1>
<button display="both" icon_size="large" label_pos="right">
<label>Everything (Dialog)</label>
<tip>Search Everything for Specified Keyword(s)</tip>
<icon1>#default:find</icon1>
<function type="normal">
<instruction>@admin</instruction>
<instruction>Everything路径\SearchEverything.exe &quot;{dlgstring}&quot;</instruction>
</function>
</button>
<button display="both" icon_size="large" label_pos="right">
<label>Everything (Clipboard)</label>
<tip>Search Everything for Current Clipboard Text</tip>
<icon1>#default:find</icon1>
<function type="normal">
<instruction>@admin</instruction>
<instruction>Everything路径\SearchEverything.exe &quot;{clip}&quot;</instruction>
</function>
</button>
<button backcol="none" display="both" icon_size="large" label_pos="right" textcol="none">
<label>Everything (Program)</label>
<tip>Starts / Brings Everything to Front</tip>
<icon1>#find</icon1>
<function type="normal">
<instruction>cd Everything路径</instruction>
<instruction>Everything路径\Everything.exe</instruction>
</function>
</button>
</button>

如上图,在Dopus菜单栏上右键-自定义(customize),再在菜单栏上右键选粘贴(paste),你就会看到一个叫做Everything的按钮出现在你的菜单栏上。其功能为:

  • 左键点击:用Everything搜索文件

  • 右键点击:用Everything搜索剪贴板内容

  • 中键点击:打开Everything窗口