AppleScript: How to determine what programming language document is?

2013-05-15 Thread Jeremy Cowgar
Via AppleScript, can I ask BBEdit what the current document's programming language is? I know that I can look at the name of the current document and parse the extension of the file, but I was hoping for a more sure way, and easier way, to get the programming language. Jeremy Cowgar -- This i

Re: AppleScript: How to determine what programming language document is?

2013-05-15 Thread Fritz Anderson
On 15 May 2013, at 3:48 PM, Jeremy Cowgar wrote: > Via AppleScript, can I ask BBEdit what the current document's programming > language is? I know that I can look at the name of the current document and > parse the extension of the file, but I was hoping for a more sure way, and > easier way,

Re: AppleScript: How to determine what programming language document is?

2013-05-15 Thread Patrick Woolsey
At 13:48 -0700 05/15/2013, Jeremy Cowgar wrote: >Via AppleScript, can I ask BBEdit what the current document's programming >language is? I know that I can look at the name of the current document >and parse the extension of the file, but I was hoping for a more sure way, >and easier way, to get the

Re: AppleScript: How to determine what programming language document is?

2013-05-15 Thread Jeremy Cowgar
Thanks! I see it now in the Library docs in AppleScript Editor. I was looking under the "document" type documentation. Jeremy Cowgar On May 15, 2013, at 5:27 PM, Patrick Woolsey wrote: > At 13:48 -0700 05/15/2013, Jeremy Cowgar wrote: >> Via AppleScript, can I ask BBEdit what the current docum