Why doesn’t this work? It’s a Run Applescript in an Animator Service, input is “Files or Folder” in Finder. Error is “Can’t get name of alias …”.
My scripts invoking Finder, called directly or as droplets (on open()), run fine. They fail only when called by a Service. There’s something about Services and Finder I’m not getting.
on run {input, parameters}
tell application "Finder" to display dialog (name of input)
end run
Any thoughts would be greatly appreciated.
Thanks.
Model: Early '11 MacBook Pro
AppleScript: 2.10(194)
Browser: Safari 537.36
Operating System: macOS 10.13