From a very quick search (I've gotta get to work!), it looks like the script at:
        http://applescript.extracts.de/scripts/bbedit/Select_Paragraph.html

Might give you some guidance/a place to start.

The term you're looking for isn't "cursor" it's "insertion point," which may help your searches.

Hope this helps,

Ian

On Apr 1, 2008, at 6:47 AM, Christian Vogt wrote:
Hi there,

in TextWrangler or BBEdit, how can I select the current line or paragraph
in AppleScript?

So far, I was only able to select a line by giving the absolute line
number.  But I would like to dynamically select the line in which the
cursor is.

If someone knows, please share.  Thanks a lot!

- Christian



--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>



--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to