• 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
Re: Code completion suggestion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code completion suggestion


  • Subject: Re: Code completion suggestion
  • From: steve harley <email@hidden>
  • Date: Wed, 20 Oct 2004 23:04:37 -0600

on 20 Oct 2004, at 6:16 PM, Phill Smith wrote:
Code completion in Real basic is really good. If you type in an object and add a period it comes up with all its elements and properties and you can then start typing and it will narrow the list down.
I have always wanted a similar thing for applescript but because applescript doesn't use dot notation for its objects I didn't know how it could be done.
A few months ago I discovered some thing I never new about (doh! after 5 years scripting) and that was "'s" notation in applescript you can say

the notation won't help.. AppleScript is weakly typed (a variable's value may be an object of any class), so when you type "get c's ...", Script Editor will have no way to know the class of c, and thus it can't know what elements or properties c might have.. it sounds like Real Basic is strongly typed (a variable's value can be of only one class)


_______________________________________________
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


References: 
 >Code completion suggestion (From: Phill Smith <email@hidden>)

  • Prev by Date: Re: Fraction Maker
  • Next by Date: Re: Script to Cycle Through Apps?
  • Previous by thread: Re: Code completion suggestion
  • Next by thread: Re: Code completion suggestion
  • Index(es):
    • Date
    • Thread