Deep or Bug?
Deep or Bug?
- Subject: Deep or Bug?
- From: Gil Dawson <email@hidden>
- Date: Sun, 16 Jan 2005 16:38:41 -0800
Is the following an illustration of a deep feature of AppleScript, or
is it just a bug in BBEdit 4.5?
The snippet...
tell application "BBEdit 4.5"
set nl to the number of lines in window 1
go to line nl -- i.e., the last line
end tell
...works as you might expect: the cursor moves to the last line of
the document.
However,...
tell application "BBEdit 4.5"
go to line (the number of lines in window 1)
end tell
...doesn't do anything. No beep, no error, nor does the cursor move.
Is this a bug or do I have something more to learn?
--Gil
_______________________________________________
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