Hi,
A kind BBEdit user (ascarter) has been kind enough to put together an
AppleScript that trigger ctags [1]. Following the instructions in the
BBEdit manual I've modified this script to have a on documentDidSave
function that triggers makeTags.
As per the manual, I've named the script Document.documentDidSave.scpt
and saved it into my ~/Dropbox/Application Support/BBEdit/Attachment
Scripts folder.
But the script doesn't seem to be triggered at all. I've removed most
of the code in the original and just left inside:
on documentDidSave()
display dialog "BBEdit on documentDidSave" buttons {"Yes", "No"}
default button 2 with icon 1
-- makeTags()
end documentDidSave
but still no results. Any ideas what I'm doing wrong?
[1]
https://github.com/ascarter/BBEdit-ApplicationSupport/blob/master/Scripts/Maketags.applescript
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>