I'm looking for the most elegant syntax to loop through a document and select all the text frames.
you can't select objects in hidden or locked layers...so, you'll have to unlock/unhide the layer and do what you need to do with the text while the layer is visible/unlocked.
to get all text loop thru text in the document object, that'll get all text items. If you loop thru text in a layer object, you won't get the text that is inside groups.
Retrieving data ...