-- Downloaded From: http://c-command.com/scripts/bbedit/disk-browser -- Last Modified: 2011-11-09 tell application "BBEdit" set _file to file of text document 1 end tell tell application "Finder" set _parent to container of (_file as file) set _parentAlias to _parent as alias set _posixPath to _parentAlias's POSIX path do shell script "bbedit " & _posixPath's quoted form end tell