Hey Folks,
TextExpander 5 is pretty scriptable.
I wrote an export script a while back that some might find useful as a starting point.
-Chris
For more information, see the wiki Searching the Forum for Answers section.