Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator workflow isn’t handing over selected text in PDF from Preview to webpage

I have several Automator workflows with JavaScripts that are handing over selected text to webpages in new browser tabs via shortcuts, like this one:


function run(input, parameters) { return "http://images.google.ch/images?q=" + encodeURI(input) }


This works almost everywhere in macOS, also in Preview for selected Markup text. But it never works in Preview for selected text in PDFs. For some workflows I get a double error message without any further information, for others the focus switches to the browser but nothing else happens. Why could that be?

Posted on Aug 19, 2021 3:19 AM

Reply
3 replies

Automator workflow isn’t handing over selected text in PDF from Preview to webpage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.