external-application-button icon indicating copy to clipboard operation
external-application-button copied to clipboard

Wait for download to complete for [DOWNLOADED_PATH]

Open videopilot opened this issue 3 years ago • 2 comments

I'm trying to add an Open in Photos command on macOS, but Photos gives me an error that the file is invalid because apparently it's trying to open it before the download is finished.

image image

If I wait until the download is done, this command works fine in terminal.

Would it be possible to add an option to wait until the download completes before running a command with [DOWNLOADED_PATH] in it?

videopilot avatar Sep 29 '21 16:09 videopilot

Or is it something else? If I Change the application to Preview I get this:

image

Opening the downloaded file with the same command in terminal or double clicking it in Finder works fine.

If I change the command to open the downloaded file with Safari, it works fine.

videopilot avatar Sep 29 '21 17:09 videopilot

Change the default download directory. Somewhere other than "Desktop" and "Downloads" should fix the issue.

andy-portmen avatar Sep 30 '21 05:09 andy-portmen