"Evan Simpson" wrote: > "printed" is a magic variable implemented by the Script machinery, and is > read-only. You need to drop print and use plain strings: > > for i in range(len(myList)): > id = myList[i] > txt = "some text" > container.writeToFile(id, txt) Thanks! That's the way I'll do it...