cbcopy-mac (336B)
1 #!/usr/bin/osascript 2 3 # Description: Copy the hovered file to MacOS clipboard. 4 # 5 # Note: Supports only MacOS 6 # 7 # Shell: POSIX compliant 8 # Author: Syed Umar Anis 9 10 11 on run args 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) 15 end tell 16 end