Folder Action & PDS do command

Hi you all,
I really need some help with my problem:
What I want is a script that triggers Photoshop to do a pre-defined action
It should only be triggered by new files and the modified file must be saved in a subfolder “done” with an EXTRA suffix “.lay”
This can - as far as I know be done with a script that polls the folder or by a folder action.
This is what I’ve come up with so far - the script triggers Photoshop but only the first file is handeled by Photoshop
Also, the save as +.lay is a mystery to me
Please help this is realy important to me, any help is greatly appreciated

–Peter-- The Netherlands

on adding folder items to this_folder after receiving these_items
tell application “Finder”
if not (exists folder “Done” of this_folder) then
make new folder at this_folder with properties {name:“Done”}
end if
set the destination_folder to folder “Done” of this_folder as alias
set the destination_directory to POSIX path of the destination_folder
end tell
repeat with i from 1 to number of items in these_items
set this_item to item i of these_items

		tell application "Adobe Photoshop CS2"
			do action "test2" from "Default Actions"
		end tell
	end if
end repeat

end adding folder items to