On 13 Apr 2019, at 12:26, Brandon Schneider <[email protected]> 
wrote:
> The idea is I want to run the #! command Check Syntax *before* a file saves 
> (on its contents), and if there's an error, do not save. I've been able to 
> achieve something close to this with calling external binaries, but I'd 
> rather use the builtins of BBEdit.

Attach a script to the save action.

Bottom of page 309, then check page 31 for where to put them.

But I don't know how you run the check syntax as it's not in the AppleScript 
dictionary (it is, but it is the HTML check syntax, not the shebang one).


-- 
You know what they say about paradigms:  Shift happens.


-- 
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