DaveSouth.org

Email RSS Twitter Delicious

Create a TextMate application

To create an application where TextMate opens a directory as a project. Create a simple Apple Script with one line:

do shell script "open -a TextMate '/Users/myaccount/Documents/Notes'"

Save the file as an application and set it to “run only”. That’s it. Paste an icon over the new application and save it into the Applications folder.

UPDATE: Yes, you can create a project file with “Save As Project” that opens with a single click. BUT it doesn’t register as an application. Even if you put it in the Application directory. This means that typing the “application” name in spotlight returns the result down the list. I wanted a top-result which is always an application. This method creates a full application which the Mac will show first.