[TxMt] Re: Concerning tm_dialog

Allan Odgaard mailinglist at textmate.org
Sun Jun 29 21:58:56 UTC 2008

On 29 Jun 2008, at 13:53, Igor Ranieri wrote:

> [...]
> $ tm_dialog -p {} ~/Desktop/Test.nib/
> tm_dialog: failed to establish connection with TextMate.
> Hope I get a solution now :P

This is what I get when I do the same:

     failed to establish connection with TextMate.

     When running outside TextMate you need to set the
     DIALOG_1_PORT_NAME environment variable.
     In a new TextMate document press ^C on a line
     containing just: echo $DIALOG_1_PORT_NAME
     Then in Terminal run: export DIALOG_1_PORT_NAME=«value»
     Here «value» is the value you got from TextMate,
     e.g. ‘com.macromates.dialog_1.45850’.

You probably have a newer tm_dialog than included with TM, but not  
actually the latest (I added the port thing and shortly after the  
verbose explanation).

More information about the textmate mailing list