It works for me with CS6. The version on my site has the File.openDialog() update, so are you possibly using an old copy?
Dan
From: "Philip Rachford" <prachford@comcast.net>
To: "After Effects Mail List" <AE-List@media-motion.tv>
Sent: Tuesday, September 25, 2012 10:20:08 AM
Subject: [AE] Text from Layers script
I have been using Dan Ebberts' Text Layers from file script twice a year for some biannual awards presentation projects, for the last several years. It won't work in AE CS6. I tried swapping out the line 19 filegetdialog command for File.openDialog which at least allows it to start to run but it won't see the text files. I am not well versed in scripting so I was wondering if anyone knows of an updated version.
Thanks
Philip Rachford
Visual Design Services
prachford@comcast.net
prachford@wccnet.edu
rachford@umich.edu
734 945 2613