Re: Require some help.
Re: Require some help.
- Subject: Re: Require some help.
- From: Rob Stott <email@hidden>
- Date: Sun, 16 Jan 2005 21:54:39 +0000
On 15 Jan 2005, at 10:42 pm, Gil Dawson wrote:
Has anyone figured out how to get the line number of the current cursor position?
Yup. You have to get the selection...
tell application "BBEdit"
tell text window 1
set theSelection to the selection
end tell
end tell
Hope that helps...
r.
---
Rob Stott – Development Team, Trident UK
Work: +44 (0) 1482 887212 • Mobile: +44 (0) 7881 811533 • Home: +44 (0) 1482 671129
My Schedule: http://ical.mac.com/robstott/Robs32Dev32Schedule
I Work For: http://www.apple.com/uk/creative/trident/
My Band: http://www.superscapemusic.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden