Glad to hear that BBEdit's AppleScript language is a little larger than the
.sdef suggests.
I hadn't thought about looking at Script Editor's recording result. Great idea!
Thanks, guys.
--Gil
> On Mar 20, 2024, at 1:58 PM, GP wrote:
>
> If you use the Script Editor to record BBEdit's Find D
If you use the Script Editor to record BBEdit's Find Differences -> Compare
Two Front Windows command you'll find the recording is something like:
tell application "BBEdit"
activate
compare text document id 717 against text document id 716 options {ignore
blank lines:true, ignore RCS keywords:tr
You can get the "first text document", "second text document", etc. so a
command like this will compare the front two windows.
tell application "BBEdit"
activate
compare first text document against second text document options {ignore RCS
keywords:true, ignore all spaces:true}
end tell
[fle
Is there AppleScript language in BBEdit 14.6.9 equivalent to Search > Find
Differences > Compare Two Front Windows? The .sdef suggests only files and
folders:
compare v : compares two files or folders
compare file
: the
new file/folder
against file
: the
old file/folder
[options Compare O