Copy file name to clipboard

Well, I dont think it has something to do with automator…

In the posted script, set the clipboard to is NOT in a tell Finder block.

Yvan KOENIG running Sierra 10.12.1 in French (VALLAURIS, France) jeudi 3 novembre 2016 16:35:08

I repeat that the posted script does its duty when it’s attached to a folder.
When we drop some files in the folder, the script put the names of the files in the clipboard.

Yvan KOENIG running Sierra 10.12.1 in French (VALLAURIS, France) jeudi 3 novembre 2016 16:37:19

Hi,

yes you are right. I tested the script without automator. I used the script on the folder and it works.
I don’t know, why I doesn’t work with automator.
Unfortunately It seems too be complicated for me…

Michi