dennis-tra / alfred-dict.cc-workflow

🌍 Alfred 4/5 workflow to get translations from dict.cc
137 stars 4 forks source link

Universal Action doesn't send selected Text #18

Closed gogamid closed 10 months ago

gogamid commented 10 months ago

Universal Action Shortcut just opens Alfred Action without text, example:

image

is this expected?

I have Mac M1 with Sonoma 14.2.1, installed new release and assigned shortcut to Universal Action

dennis-tra commented 10 months ago

Hi @gogamid, this is not what I would expect. I'm also on a Mac M1 with Sonoma 14.2.1. For me, when I select text and press the Universal Action shortcut:

image

it opens Alfred but the text isn't populated:

Screenshot 2024-01-05 at 10 04 18

However when I select "Translate", the text is properly forwarded to the workflow:

image

Could you confirm that this doesn't work?

gogamid commented 10 months ago

this is clear and it works -> but it is a long way... what is interesting is, clipboard forwarding works but not selected text

image

What is the purpose of "Selection on MacOS" then if it is not used/works?

gogamid commented 10 months ago

Selected Text -> Hotkey -> Translate {Selected Text} works now. The issue was about Permissions: https://www.alfredapp.com/help/getting-started/permissions/ I had to revoke and grant again...