Never worked on a Mac. Since you can't copy a string to the clipboard (pasteboard) in JS directly I tried this:
this code works on a Windows system with the obvious changes of making the file .bat using a command to copy the file to 'clip'.
However, a Mac user who tried this said didn't work.
What do I need to tweak it?
The text is already written to the clipboardTextFileName file.
Retrieving data ...