On 1/8/13 at 20:20, [email protected] (Maarten Sneep) wrote:

> -- Not poorly documented: just AppleScript.
> on run
>   tell application "BBEdit"
>       set my_sel to (selection of text of text document 1) as text
>   end tell
>   say my_sel
> end run

Or, more simply:

tell application "BBEdit" to say "" & selection
-- selected text only

tell application "BBEdit" to say (get text in front document)
-- whole text

JD

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" 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 [email protected].
To post to this group, send email to [email protected].


Reply via email to