On 20 Dec 2010, at 21:47, Christopher Stone wrote:
> This errors:
>
> tell application "BBEdit"
> try
> tell front text document
> properties of (get insertion point)
> end tell
> on error errMsg number errNum
> "Error: " & errMsg & return & "Error Number: " & errNum
> end try
> end tell
>
> Is my syntax incorrect?
Nope.
Try
tell application "BBEdit"
tell the text of the front window
set _sele to the selection
--=> insertion point before character 1889 of «class TxtD» 1
end tell
end tell
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 [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>