Oh! and bonus caveat - you have to have an actual text file open within the project window, as the document path is not set if you only have a folder open, and there appears to be no way to detect duplicates in that case.
--dan()
On 05/03/2010, at 13:26 , dan mackinlay wrote:
Hi TextMate folks.
I've written a little applescript to do what I regularly need to do - open a folder in TextMate if and only if it's not already open, from the command-line. ...