Hello all,
I wrote a service-workflow that takes selected text in Notes app and searches it online. It works with one word only. With more than one word selected, I get this error: The action “Run Shell Script” encountered an error: “The file /Users/main/https:/antwerpen.bibliotheek.be/krantenarchief?q=Vias zet subsidies in voor commerciële does not exist.” How to make this service work with more than one word?
I wrote a service-workflow that takes selected text in Notes app and searches it online. It works with one word only. With more than one word selected, I get this error: The action “Run Shell Script” encountered an error: “The file /Users/main/https:/antwerpen.bibliotheek.be/krantenarchief?q=Vias zet subsidies in voor commerciële does not exist.” How to make this service work with more than one word?
for query in "$@"
do
open "https://antwerpen.bibliotheek.be/krantenarchief?q=$query"
done