The simple solution is via applescript. Otherwise, the apple developer connection (http://developer.apple.com/) has APIs very well documented.
Jeff.
On Apr 24, 2006, at 3:50 PM, Lewis Overton wrote:
I keep seeing references to using TM as an external editor for Mail.app and other places, but I have yet to find the (plugin) way to make it happen. Can someone post a pointer to the necessary pieces?
Lewy
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate