[TxMt] Open TextMate thru smate via mate) was (Open TextMate Here)

Yvon Thoraval yt.mac at free.fr
Wed Nov 15 10:57:23 UTC 2006


Le 14 nov. 06 à 18:36, Jay Soffian a écrit :

> I downloaded Marc Liyanage's "Open Terminal Here"[1] droplet and  
> modified it to open TextMate instead. Hence, "Open TextMate Here".  
> I've attached the droplet for anyone who's interested. I keep it in  
> ~Library/Application Support/Finder (renamed to "Mate") and then  
> stuck it in my Finder Toolbar:
>

i've change the "Open TextMate Here" from Jay Soffian in order to  
open Textmate thru smate (again from Jay Soffian) via mate.

then this script depends of mate which you must have installed and  
also upon smate which is attached to the mail <9EABCAD5-2225-4C97- 
B5C8-00850284DF05 at soffian.org> posted by Jay Soffian on 8-NOV-2006.

same way to add it in a finder window :

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FinderWindow.png
Type: application/applefile
Size: 65561 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FinderWindow.png
Type: image/png
Size: 21567 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment-0001.png>
-------------- next part --------------

this script will open a Terminal window like that :

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Edit duplicate.png
Type: application/applefile
Size: 53096 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Edit duplicate.png
Type: image/png
Size: 12176 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment-0003.png>
-------------- next part --------------

after having saved your change and closed the opened TextMAte window  
you get :

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Replace original.png
Type: application/applefile
Size: 54925 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Replace original.png
Type: image/png
Size: 13122 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment-0005.png>
-------------- next part --------------

the duplicate is then saved as the original if you've answered y.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Smate.app.zip
Type: application/zip
Size: 46793 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061115/20e9de25/attachment.zip>
-------------- next part --------------

any comment appreciated ;-)

Yvon


More information about the textmate mailing list