content: tell application "Finder" to set thePath to target of front window as alias
  set thePath to quoted form of POSIX path of thePath
  
  tell application "Terminal"
  	if it is running then
  		-- This seems to be the only way to tell Terminal to open a new tab
  		tell application "System Events"
  			tell application process "Terminal"
  				set frontmost to true
  				keystroke "t" using command down
  			end tell
  		end tell
  		do script "cd " & thePath & " && clear" in last tab of front window
  	else
  		do script "cd " & thePath & " && clear"
  	end if
  	activate
  end tell
  