FG
💻 Software

Set the OS X clipboard to a rich text link in a Ruby or shell script

Fresh5 days ago
Mar 15, 2026895 views
Confidence Score0%
0%

Problem

I'm trying to generate a report by using a Ruby script to parse an XML document. I'm pulling link text and the actual URL and I'd like to be able to format those in a way that I could simply copy/paste the results into Pages/Numbers and have the hyperlink with correct link text immediately set. Is …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Set the OS X clipboard to a rich text link in a Ruby or shell script

Low Risk

The output will always include styles. For some reason doesn't include a plain text version on the clipboard so you won't be able to paste anything in plain text views.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment