"Open Finder Selection" doesn't find application

Hi guys,

I hope I have not missed this question in the forum, I've found some similar issues but not the same.

I am trying to simply have a macro that opens the selected file with a specific app by using the Open Finder Selection actino.

Here the error message I get
2025-04-25 Screenshot 002008

This is the macro with the simple action

Open with CleanShot X.kmmacros (2.2 KB)

I have tried to so far

  • Open with Preview (to understand if access rights of CleanShot X were an issue)
  • Giving Keyboard Maestro and Keyboard Maestro Engine Full Disk Access

I am on Keyboard Maestro Version 10.2 and Sequoia 15.4.1 (24E263)

What am I missing?

Thank you in advance!

The issue is likely that CleanShot X does not have permission to open the file.

Try opening the file manually with ClearnShot X using the Finder.

I thought that too, but opening files with CleanShot works. This is why I tried to replace CleanShot X with Preview to test that permission also through the macro. I get the same message if I replace the App in the action with Preview.

I tried your macro on my system and it didn't work - but I did not get any kind of error message.

Thinking that your Cleanshot X might be somehow different to the one I've got I had a look at the selection of Cleanshot using the More option in the drop down menu here in the action:

image

You can see that the Cleanshot item doesn't have an icon, so on choosing More I got this:

image

I then selected the Cleanshot with the icon and thereafter the macro worked.

I don't know why I have 2 entries for Cleanshot but it might be worth your looking at it on your system... Maybe it's causing your problem?

Unfortunately not solving the problem. I tried to select it through the menu, changing the App and I always get the same error.

Try using the "Open a File Folder or Application" action instead, feeding it the %FinderSelection% token and setting it to use CleanShot X (which I don't have, so the picture shows it set to Preview):

image

That will limit you to one selected file only -- if it works and you want to work on a multi-selection we can roll the action into a "For Each".

There was an earlier problem using Finder to open apps to open files -- but I can't remember if that was KM- or OS-version related. But it's worth updating to KM v11 -- even if it doesn't fix this problem you'll get some useful new KM abilities.

1 Like

Hello @Nige_S

That did it! Thanks a lot :slight_smile:

Will definitely consider Keyboard Maestro 11.

Cheers