On 1/1/06 2:38 PM, "Allan Odgaard" <throw-away-1(a)macromates.com> wrote:
Try: touch ~/Library/Scripts/Applications/Finder/open\
That'll update the date stamp on the actual application bundle, which
is generally required for Finder to re-cache the icon.
Yes, that did it.
I noticed something very strange though. If I save the script as an
application bundle, it behaves slightly different than when I save it as an
application. When dragging a file (not a folder) onto it, TextMate opens
the folder containing that file, rather than just the file. I wonder if it
has something to do with the fact that the script is saved to
TextMate.app/Contents/Resources/Scripts/main.scpt instead of just
~/Library/Scripts/Applications/Finder/open in TextMate.app.
I would prefer to use the application bundle method because it seems more
stable. (Once, Finder crashed and when it started again, my "open in
TextMate.app" had lost it's TextMate icon.) But I don't know how to get
this working. Anyone have an idea?