-- Downloaded From: -- http://c-command.com/scripts/bbedit/diff tell application "BBEdit" set diffResult to compare text window 1 against text window 2 if differences found of diffResult is false then display dialog (reason for no differences of diffResult) end if end tell