Thanks so much for the quick response, Dan.
When I paste this into the expression field for a text layer, I get an AE warning:
“Bad method arguments: can’t look for property by name in group ‘Effects’. You must use (index) Expression disabled.
Error occurred at line 7.”
Like I said, I’m a real novice when it comes to expressions. As I understand this, its telling me that I can’t use ‘name’ in the line
txt += L(“Effects”).property(j).name + “\r”;
I’ve tried a few other variations, but get the same error message. I am using AE CS4 on a PC, if it makes any difference.