Opening a .nzb file

This is my first attempt at writing an AppleScript. I’ve added it to my Downloads folder as a Folder Action however it doesn’t appear to have any effect. It should open NZBDrop the same way clicking on the file would.


on adding folder items to this_folder after receiving added_items
	tell application "Finder"
		activate
		if the name of added_items contains ".nzb" then
			tell application Finder to open added_items
		end if
	end tell
end adding folder items to