hammerspoon2-docs
    Preparing search index...

    Function readURL

    • 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.

      Returns string | null

      The URL as a string, or null if not available