I have a very simple script to simultaneously save the current BBEdit
file and refresh Safari.

tell application "BBEdit"
        save window 1
end tell

tell application "Safari"
        do JavaScript "document.location=document.location" in document 1
end tell

This script worked great in BBEdit 8, however it appears to not work
in BBEdit 9. Instead of saving the current doc back to where ever it's
opened from on the server, it brings up a save dialog to save the file
locally. I know this should be easy, but it eludes me. And using the
Record command in the Scripts menu is no help, as Save doesn't get
recorded.

Any help is greatly appreciated!

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
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 "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to