Find a .txt file click it select it (click on it), press command + i, on the resulting info panel, choose textmate from the drop down menu, also push the Change All... button to make this change the new default for all .txt files. From now on double clicking a .txt file opens it in TextMate. (this is a basic mac trick that can be used to set the default app for any file extension--enjoy) Tim
On Fri, Apr 3, 2009 at 10:05 PM, Scott Haneda talklists@newgeo.com wrote:
In case you can not find a solution... Sometimes you can force a reset of default apps. Zip up textedit and delete the original.
Now open your file. It should open in tm. If not, zip the next app. Eventually you get to a point where the files open in your desired app.
From there just restore your zipped apps. Hell, may not hurt to trash textedit, though it comes in handy for poking at pesky Word files.
-- Scott Iphone says hello.
On Apr 3, 2009, at 9:38 PM, Bill Paxton paxton@kitp.ucsb.edu wrote:
Hello,
How can I get 10.5.6 to use TextMate as the default application to open text files instead of using TextEdit?
For example, if I do the following, I'd like the new file to open in TextMate:
grep 'test' *.c > newfile open newfile
Currently, this opens in TextEdit (ugh).
For files with an extension, I can get the system to use TextMate for all files with that extension. But I'd like something that works automatically for files without extensions (like "newfile" in the example).
Also while it works to use "get info" to set the "open with" application for an existing file, when I do "Change All..." to use TextMate, I get the following error:
An error occurred while changing the application that open "newfile" because not enough information is available.
I'm using Version 1.5.8 (1498).
Thanks, Bill Paxton
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate