Read a URL from the pasteboard
If several URLs are on the pasteboard, this returns the first; use readURLs() for all of them. As with readURLs(), file-reference URLs (file:///.file/id=...) are resolved to file-path URLs (file:///...) when possible.
readURLs()
file:///.file/id=...
file:///...
The URL as a string, or null if not available
Read a URL from the pasteboard
If several URLs are on the pasteboard, this returns the first; use
readURLs()for all of them. As withreadURLs(), file-reference URLs (file:///.file/id=...) are resolved to file-path URLs (file:///...) when possible.