--CODE BEGINS
tell application "BBEdit"
activate
tell front document
set my_mods to {"TeX", "Stata", "(none)"}
set go to choose from list my_mods with prompt "Choose a Language.."
if go is false then return
set source language to go
end tell
end tell
--CODE ENDS
-Steve
On Dec 10, 10:41 am, "rwar...@googlemail.com" <rwar...@googlemail.com>
wrote: