Filter to remove strange single quotes from Finder Copy Path

Hello,

If I copy a file path in Finder, the path ends up in single quotes in the clipboard, which I find bizarre. This does not appear in Forklift and I can’t imagine it being of any use. There must be something that I am missing.

'/Users/Ronald/Downloads/simplemind-How to create a flowchart with SimpleMind.pdf'

To use the path in my KM macros with actions such as Open File, I need to remove those single quotes, but there does not appear to be such an action in the clipboard filter.

thank you very much

I believe this "feature" was added in MacOS Ventura. These single quotes gets added if you copy as path with spaces in your file or folder names. I guess the idea is to make the path safe for Shell and the such, but I agree, it is irritating.

Easy enough to create a Clipboard Filter for this though. Something like the following, for example

Path- remove leading-trailing single quotes.kmmacros (1.9 KB)

Macro image

3 Likes

you solved a very irritating problem. Thank you VERY much @Alexander !!

2 Likes