modifying this Print Illustrator Files scriot

Hello,

I have an Illustrator action called “print files” in the default folder of the actions panel.

I have the following script that I used once before to access an action, and I am just changing it to the new action name. However, this one doesn’t allow me drop files or folders onto it. I don’t want it to be a folder action like it is now.

I am trying to figure out how to make it be more of a droplet, but nothing I try works.

If anyone can help me, I would appreciate it, I have lots of Illustrator files to print :wink:
thanks!!
babs


on adding folder items to this_folder after receiving these_items
	repeat with an_item in these_items
		tell application "Adobe Illustrator"
			activate
			open an_item
			do script "print files" from "Default"
			
			delay 3
		end tell
	end repeat
end adding folder items to