alfredapp / shortcuts-workflow

Run installed macOS shortcuts
BSD 3-Clause "New" or "Revised" License
250 stars 4 forks source link

It doesn't work with copying to the clipboard #1

Closed parfeniukink closed 2 years ago

parfeniukink commented 2 years ago

Workflow version

latest

Alfred version

2022.6

macOS version

12.3.1

Debugger output

No output

More details

For example lets create a simple workflow in Siri Shortcuts.

  1. Make a GIF from Clipboard (on this step you have a video copied to the clipboard)
  2. Copy GIF to the Clipboard
image

In clipboard we have image

vitorgalvao commented 2 years ago

latest

Please never say “latest” but always the exact version. “Latest” is often wrong and makes it impossible for people who face the same issue later on to know if their version matches the report. An example of when it can be problematic: because you seem to be referring to Alfred’s version, it is impossible to know which version you’re referring to because there is currently a stable version and a pre-release—two versions which could be reasonably classified as “latest”.

Fortunately, it doesn’t matter in this case. The Workflow does work with copying to the clipboard, but only text content. Without getting bogged down in the details, the Workflow uses the clipboard to temporarily store information to get around NSTask’s decomposition.

I have changed the approach. Are you able to confirm this new version works for you?

vitorgalvao commented 2 years ago

2022.7 is out with the change.

parfeniukink commented 2 years ago

@vitorgalvao Hey. Thanks so much for your reply! Sorry I mistyped the latest version for your workflow and typed it to the Alfred version.