On 03/15/2019, at 12:00, Jon Hill <[email protected] 
<mailto:[email protected]>> wrote:
> Maybe I could script it?


Hey Jon,

Sure you can.  Something like this will work:


tell application "BBEdit"
    set winList to text documents whose name contains "untitled" and on disk is 
false
    repeat with i in winList
        close i without saving
    end repeat
end tell


And you can get much fancier if you want to.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to