I have constructed a button which will show me all the documents I have worked on in the last week.
It does this by running a find command on a named filter that excludes temp file, backups, and similar rubbish. The output is sent to a file collection in a new tab in the current window.
<xml>
<button>
<guid>{BE7CE4E8-DF7A-4E6D-AFA1-6C09B310BFA2}</guid>
<label>Recent Fles</label>
<tip>Finds files worked on in last week</tip>
<icon1>214</icon1>
<function>
<instruction>Go "Coll://Files recently worked on" NEWTAB </instruction>
<instruction>Find Filter="recent files" In="D:\andrew" Name="recent files" Collname="Files recently worked on" CLEAR </instruction>
<instruction>Close </instruction>
</function>
</button>
This works. But I am left with a find window inthe background, which I have to close manually, even after the "close" command. Is there any way around this problem? I just can't work out how to close one of several D Opus windows, which is what the problem seems to be in its most general form.