Question concerning DevonThink Search with Houdahspot: no groups?

Hello, I installed the DT Houdahspot template. It works very well. Do I understand correctly that results only show documents, ie that one can only search for documents (item), not groups ?
thank you

1 Like

Groups are currently not part of the Spotlight index and therefore can’t be found via HoudahSpot.

2 Likes

Thank you Christian. Please consider putting it on the wish list.

1 Like

Sorry for a follow-up question.
I like the Houdahspot interface for quick searches.
Is there any significant disadvantage to adding DT to my spotlight index ?
thanks again

No. But of course this requires additional disk space.

1 Like

great. thank you.

Perhaps DEVONsphere Express could find groups in DEVONthink, as it can already find files there. And it’s more intimately related to DEVONthink too :wink:

2 Likes

I have it and will have a look. I have not been using it because of memory consumption problems. thank you

You’re welcome.
But note it won’t find DEVONthink groups at this time. I was just making a suggestion to @cgrunenberg that maybe it could in the future :slight_smile:

3 Likes

I have to say, that I find Houdah Spot and DEVONthink 3 work well together for me. It is a combo I would hate to lose. I have all my files now, other than ones I am working on and email in DEVONthink 3 anyway, so I could revert easily to native search but I really find HS very powerful and it sometimes finds stuff I didn’t even know was there. I use groups but don’t really search in them…

2 Likes

thank you for your comment.

HoudahSpot, in addition, has a nice large document/item preview pane.

Concerning the impossibility for search for groups, I found a solution thanks to the help of our beloved master @cgrunenberg
It is discussed here : Document opened but sidebar not visible and no way to identify or open the item's group - #3 by rufus123

I use keyboard maestro macros. In case you do also, you can create a HoudahSpot palette with 2 macros
1- a macro to open an item (search result) in DevonThink
2- a macro to open the group in which the item is located (for some strange reason, I often find myself having to do this). Macro -2- is simply macro -1- to which I added ⌘R which is the DevonThink shortcut for Data > Reveal

1 Like

How do you do those macro if you don’t mind explaining.

Here are the 2 macros

I have one problem that I am trying to solve which is that HoudahSpot finds items/docs in the trash which I am not interested in, but that I don’t want to delete for the moment.

@BLUEFROG
is there any way to add the prefix DELETED to all files in the trash ? thank you

1 Like

Thanks. that was kind of you to take the trouble.

Technically feasible, but I’m wondering why you wouldn’t be routinely emptying the database’s Trash. :thinking:

2 Likes

just because I’m a bungler. Could I create a smart rule?

Not directly, no. You can’t target the Trash or the Trash of any database with a smart rule.

However, you could create a Reminder script and apply it to the Trash of a database. Set it as an intervallic alarm, e.g., Daily, in the Annotations & Reminders inspector.

Here is such a script…

on performReminder(theTrash)
	tell application id "DNtp"
		set currentDB to (database of theTrash)
		set trashedKids to ((contents of currentDB) whose (location begins with "/Trash"))
		if trashedKids ≠ {} then
			repeat with thisKid in trashedKids
				if (name of thisKid) begins with "DELETED" then
					exit repeat
				else
					set name of thisKid to ("DELETED-" & (name of thisKid))
				end if
			end repeat
		end if
	end tell
end performReminder

Save it in the ~/Library/Application Scripts/com.devon-technologies/think3/Reminders directory and relaunch DEVONthink. t will then be available as a script for a reminder alarm.

1 Like

thanks very much for your reply.

I created a dummy database called test, created and deleted a few docs.

If I put the script in Save it in the ~/Library/Application Scripts/com.devon-technologies/think3/Reminders I can’t see it in the smart rule dialog box. I had to put it in ~/Library/Application Scripts/com.devon-technologies/think3/Smart Rules for it to appear after quitting and reloading DevonThink.

When I did that, the script does nothing. It does not add deleted to the trash

I am running the script every minute just to test it. After that I will reset to daily.
Please note that I did not edit your script. I did not insert the database name because it’s in the smart rule.

thank you

  • It’s not in a smart rule.
    It’s a Reminder script. See the Tools > Annotation and Reminders inspector.

  • It’s a reminder on the Trash of the database, since you can’t add a reminder to a database.

  • You can set the reminder to run hourly. That should be sufficient.

Also, I would not set a smart rule to run every minute unless you had a actual need to run it that often.

1 Like

works perfectly. thanks very much for the explanation (… and your patience) !