Process multiple files through Quicksilver

I have a simple dropplet that grabs the names out of a batch of files and dumps them into a text document. It works fine, except when I try to do the same function through Quicksilver, it only does the first file. It doesn’t loop through the rest. Is there a way to get this to work, or is it a limitation with Quicksilver?

on open (dropped_Files)
	tell application "TextEdit"
		make new document
		repeat with i from 1 to the count of dropped_Files
			set theFile to item i of dropped_Files
			set theName to (theFile as string)
			set tid to AppleScript's text item delimiters
			set AppleScript's text item delimiters to ":"
			set theName to ((last text item of theName) as string)
			set AppleScript's text item delimiters to tid
			tell application "System Events"
				keystroke theName
				keystroke return
			end tell
		end repeat
	end tell
end open

I dont know much about apple script but i do know quite a lot of quicksilver.
can u describe what exactly you are trying to do with quicksilver?

i will tell you what i did.
i took your script and saved it as an app.
i brought up a folder in QS command window
then pressed Cmd-A to select all files within that folder
the icon of cards with “19 items selected” appears
i dragged this icon of cards into the icon of your script which i saved as an app.
it works.

I used QS B54(3815)

What I was trying to do, is select the files in finder, Cmd+Esc to bring them into quicksilver, tab, open with, tab

Theoretically, this should run the script the same way as dragging and dropping, but it’s not.

For me this works when I drag into QuickSilver