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

Automator Service: Copy link and not only text

Hi,


I'm trying to create a service that will parse Windows UNC links and open them properly in Finder. The service typically gets its input from a mail client (Mail / Outlook) or a document (Word / Pages / PDF).


The problem is that sometimes the link text is different than the UNC path itself (i.e. a "Click Here" link). I am only able to get the selected text but not the link behind it. I thought of parsing the currently selected message/document in the active application and searching for a link with a matching text, but sometimes there are several links that say "Click Here"...


Any ideas how to get the link behind the selected text?


Thanks in advance,

Guy

MacBook Pro with Retina display, OS X Yosemite (10.10.5)

Posted on Aug 22, 2015 4:15 PM

Reply
1 reply

Automator Service: Copy link and not only text

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