On Aug 11, 2011, at 17:37, Watts Martin wrote:
> John Delacour wrote:
>> set the selection to myText
> Geez, I could _swear_ that I tried that first and it didn't work. Apparently
> I had a case of the stupid. Thank you. :)
______________________________________________________________________
Hey Watts,
John's syntax works from several contexts, but when you're inside the 'text of
the front text window' you need to do something like this:
tell application "BBEdit"
tell text of front text window
set text of selection to "Some Text"
end tell
end tell
--
Best Regards,
Chris
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>