Write one or more URLs to the pasteboard atomically, replacing all current contents.
Writing file URLs via writeURLs() uses AppKit's NSURL pasteboard representation so
Finder and other apps receive proper file references and sandbox extensions when pasting
multiple copied files.
Parameters
urls: string[]
Array of URL strings (each must have a scheme, e.g. "file:///..." or "https://...")
Write one or more URLs to the pasteboard atomically, replacing all current contents.
Writing file URLs via
writeURLs()uses AppKit'sNSURLpasteboard representation so Finder and other apps receive proper file references and sandbox extensions when pasting multiple copied files.