Apr 26, '02 09:35:03AM • Contributed by: TomWoozle
Well, I finally got around to creating an Applescript that does it for me, here it is:
on runSave the script as an application and drop it in the Finder toolbar (or in the Scripts folder or use one of the available utilities to assign it a keyboard shortcut) and then each window has a handy link to the terminal which will open a new window navigated to that folder. This saves duplication of effort and long drag and drop operations.
tell application "Finder"
try
activate
set frontWin to folder of front window as string
set frontWinPath to (get POSIX path of frontWin)
tell application "Terminal"
activate
do script with command "cd \"" & frontWinPath & "\""
end tell
on error error_message
beep
display dialog error_message buttons¬
{"OK"} default button 1
end try
end tell
end run
