Act on selected documents in service

Hi, I’ve got a working script that begins:

on open of droppedFiles

this works with the applescript as an app that has items dropped onto it. How can I adjust this so that I get a list of the files that are passed to the applescript when several files are selected and the applescript is run as a service?


services are supposed to be created in Automator. The Run AppleScript action provides the proper syntax

Thanks, got it working :slight_smile: