--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"sup...@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 a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/D5tO4hanw_A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To post to this group, send email to bbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"sup...@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 a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/D5tO4hanw_A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To post to this group, send email to bbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
Is the closest (and other variants) I've gotten, but the problem is the menu is grayed out, so it's not really a functional script.
That was really helpful Chris, it occurred to me I completely forgot to try using a shortcut instead.This gets me 90% of the way there (posting the small script for time travelers):tell application "BBEdit" to activatetell application "BBEdit" to tell document 1 to savetell application "System Events" to keystroke "k" using command down
The ordering of the save seemed to cause a race condition, so this doesn't obviously meet the criteria of not saving if there's an error, but it certainly helps run it each save instead of me forgetting and giving me a nice big window.
I bound the script to command + s and it all works great!