Hi Peter! Thanks for your suggestion! I removed the line feeds and cr from your script after pasting it into my group script. I got an error message for this line of code put counter "." && tName & cr after theList: compilation error at the line 29 (repeat: garbage where a command should be) near ".", char 11 Any suggestions? Charles Szasz cszasz at mac.com