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" activate 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