now, obviously the problem has already been encountered before:
so i used this to get started (and finished) - result is a Finder.app Workflow:
...just accompany this snippet with on processItem(i) and on canChangeDirectoryTo(f), save it as Workflow - done.
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.