Hi, I've been looking for a reponse, searching the net and mailling list archives, but could't find an answer to this problem, whenever I try to run tm_dialog, to i.e. open a window just created, i got the error:
$ tm_dialog -p {} ~/Desktop/Test.nib/ tm_dialog: failed to establish connection with TextMate.
Hope I get a solution now :P
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).