3 # Description: Copy the hovered file to MacOS clipboard.
5 # Note: Supports only MacOS
7 # Shell: POSIX compliant
8 # Author: Syed Umar Anis
12 set filePath to (second item of args & "/" & first item of args)
13 tell application "Finder"
14 set the clipboard to (filePath as POSIX file)