help!..PShop action stalls during execution of folder action

hi - newbie question for you boys

I’m trying to use folder actions in panther to create a hot folder that runs my photoshop 7 action automatically whenever a file is added to the folder. The problem is that my script will open the image file without any difficulty but will not execute the action – the opened image just sits there! The PShop action name and set name are correct…very frustrating!! :frowning:

Here is my folder action script:

on adding folder items to this_folder after receiving added_items
try
	tell application "Adobe Photoshop 7.0"
		activate
		try
			set display dialogs to never
			repeat with i from 1 to the count of added_items
				set this_file to item i of added_items
				close every document saving no
				open this_file showing dialogs never
				[b]do action zzz from testset[/b]
				save current document
				close current document saving no
			end repeat
		end try
	end tell
end try

end adding folder items to

any help very appreciated :wink:

Two things you should check are 1) that the Action and Set names are in quotes, and 2) that the names are typed with the correct case (Action and Set names are case-sensitive in AppleScript).

putting the set and action names in quotes fixed the problem!!
thank you very much :smiley: :smiley: :smiley: