Saturday, December 15, 2007

Open in (OS X) Terminal here...

...seems so handy! but doesn't come with the system.
now, obviously the problem has already been encountered before:
http://c-command.com/scripts/finder/open-in-terminal

so i used this to get started (and finished) - result is a Finder.app Workflow:

on run {input, parameters}

   repeat with i in input
     my processItem(i)
   end repeat

   return input
end run

...just accompany this snippet with on processItem(i) and on canChangeDirectoryTo(f), save it as Workflow - done.

No comments: