[TxMt] mate + output in html? run textmate command from command line?

m-junk at still-crazy.org m-junk at still-crazy.org
Tue Dec 13 17:35:44 UTC 2005


the "mate" command-line tool is great, but i find myself also wishing  
that i had some way to pipe input into a textmate html window, e.g.  
rather than
    long_running_command | mate

which waits until the command is completed, and then throws the  
output in an editable text window, i'd like to be able to say
    long_running_command | pre | mate -html

and get a continuously-updated, non-editable window (with the option  
of adding javascript and formatting).

i could see how to hack this up myself if there were a way to  
initiate a textmate command from outside textmate (i.e. provide  
stdin, a command line, and one of the standard output choices  
(arguably only "show as html", "show as tool tip", and "create new  
document" would really make sense)) -- but i couldn't see how to do  
this (i'm no applescript wizard, but i poked through the scripting  
dictionary).

is there some trick here i'm missing?  if not, consider this a  
feature request...




More information about the textmate mailing list