On 03/15/2019, at 12:00, Jon Hill <jon.ilu...@gmail.com 
<mailto:jon.ilu...@gmail.com>> 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
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to