One more improvement would be to permanently dedicate two files for this use. 
Locate them in some safe place - not temp files - named so you’ll remember not 
to accidentally delete later, e.g., “CompareDoc1” & “CompareDoc2”. Then 
hard-code them with paths in your script. Eliminates all the steps related to 
creating files. The script can overwrite the previous comparison’s text 
fragments each time it’s called, or maybe just close the files without saving, 
leaving the files on disk always blank.

HTH,

> On Dec 7, 2024, at 6:55 PM, Jim Leff <[email protected]> wrote:
> 
> Rick, thanks, but I got ChatGPT to create the script for me. Here it is. It 
> requests the two snippets and transfers them to docs on desktop (and  opens 
> desktop folder so you can delete them), then opens Find Differences with the 
> snippets properly selected (stealing from JJ's work!).
> 
> It runs well but requires BBEdit's Command Line Tools and some permissions 
> tweaks:
> 

    — Bruce

_bruce__van_allen__santa_cruz_ca_


-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/6DA0A5D7-8E0D-4FE0-804B-E62FC8E536DE%40cruzio.com.

Reply via email to