Applescript to set spotlight comments on multiple files
Hi all;
trying to set some comments on multiple files using an applescript inside automator.
I have an action to select multiple files and then these files are passed to the script:
on run {input, parameters}
tell application "Finder"
activateset commento to "my comment"
set comment of (input as alias) to commento
return input
end tell
end run
This is working as long as I'm selecting one file only.
Not working with multiple files… Can anybody help me on this please?
(I know this can completely be done with automator without applescript but I need applescript for some other reason so I need to solve the problem this way…)
macBook alu 13"