Feat: Can the search button be displayed when the selected text contains a url?

I selected the text containing the url to search, but the search button does not appear, only the link button.

Can the search button be displayed when the selected text contains a url?

btw: PopClip fails to display the Show in Finder button when the selected text is a file path and not a folder. Also, I think the Show in Finder rule could be the same as Open Link, which displays the button if the selected text includes a folder path or a file path.

1 Like

There’s a hidden pref for this. In Terminal app:

defaults write com.pilotmoon.popclip SearchForLinks -bool YES

(or defaults write com.pilotmoon.popclip-setapp SearchForLinks -bool YES if you have the Setapp edition)

then Quit and restart PopClip.

1 Like

I can’t seem to reproduce this. Could you give me a more specific example I can try to reproduce?

This was done because detecting file paths within free text is quite challenging (coding-wise), and I only devised an algorithm to look for the text itself rather than sub-strings. I coded that in 2011, and you are the first person since then to ask for this enhancement :slight_smile: I always thought someone would ask eventually.

Great! It worked!

Regarding the file path issue, it was my fault that the file didn’t exist :joy:

btw, the new site looks so professional! I love it! :+1:

1 Like