Sweet! I now have a keyboard shortcut defined for it.

Thank you!

On Friday, March 15, 2019 at 3:16:22 PM UTC-5, Christopher Stone wrote:
>
> On 03/15/2019, at 12:00, Jon Hill <jon.i...@gmail.com <javascript:>> 
> 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