• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deep or Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Deep or Bug?
      • From: Emmanuel <email@hidden>
References: 
 >variable names in list (From: Dave Bevis <email@hidden>)

  • Prev by Date: Re: BBEdit Insertion Point Line Number
  • Next by Date: Re: Releasing "docked" windows
  • Previous by thread: variable names in list
  • Next by thread: Re: Deep or Bug?
  • Index(es):
    • Date
    • Thread