[TxMt] Applescript: Open current Finder window folder in TextMate

Allan Odgaard throw-away-1 at macromates.com
Sun Jan 1 20:38:36 UTC 2006

On 1/1/2006, at 9:50, Simon Dorfman wrote:

> I've attached a short screen capture movie showing how to do the  
> Finder
> copy/paste of icons.

Thanks -- I'd missed that selection bit.

> Could you explain the Application Bundle way of doing it?  I'm  
> curious how
> it works.  I tried this:
> $ cd ~/Library/Scripts/Applications/Finder/open\ in\
> TextMate.app/Contents/Resources/
> $ rm droplet.icns
> $ cp /Applications/TextMate.app/Contents/Resources/TextMate.icns
> droplet.icns
> ...but that doesn't change the icon in Finder.  Is there something  
> else I
> need to change?

Try: touch ~/Library/Scripts/Applications/Finder/open\ in\ TextMate.app

That'll update the date stamp on the actual application bundle, which  
is generally required for Finder to re-cache the icon.

More information about the textmate mailing list