-- Downloaded From: http://c-command.com/scripts/bbedit/diff -- Last Modified: 2007-11-30 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