At 19:23 -0700 9/3/12, LuKreme wrote:

On 09 Mar 2012, at 09:21 , John Delacour wrote:

 > At 06:55 -0700 9/3/12, LuKreme wrote:
 >> > can get the filename of the front-most document in BBEdit, but I'm
 > afraid I just don't grok AppleScript.

    set docName to name of text window 1

 That will get you the name of the window.

When are they different?

1. When the document has not been saved
2. The expression "filename" is generally used to signify the full path of the file, and not just its name.

JD


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