On 07/25/2018, at 12:14, Rich Siegel <sie...@barebones.com <mailto:sie...@barebones.com>> wrote: > > BBEdit does not "lock the file". :-)
Hey Rich, Eh? Hmm... Oh, the Finder is choking on the FURL returned by the document's file property. I thought the Finder could handle FURLs now... Oh, well. This works: ---------------------------------------------------------------- tell application "BBEdit" tell front text window set f to its file end tell end tell set f to f as alias tell application "Finder" set name of f to "WTF.txt" end tell ---------------------------------------------------------------- -- Take Care, Chris -- This is the BBEdit Talk public discussion group. 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> --- 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.