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

Code completion suggestion


  • Subject: Code completion suggestion
  • From: Phill Smith <email@hidden>
  • Date: Thu, 21 Oct 2004 13:16:58 +1300

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



get a of b of c

or

get c's b's a

so you could using that method come up with a drop down list of an objects elements or properties in the script editor. If you type c's it should then come up with a list of properties and elements of c which you can choose from then repeat for that object. This could reach out to the scriptable application to get the objects properties

Just a suggestion to any one at apple who is reading this on how to improve the scripting environment
May be its in 10.4


_______________________________________________
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: Code completion suggestion
      • From: Emmanuel <email@hidden>
    • Re: Code completion suggestion
      • From: steve harley <email@hidden>
    • Re: Code completion suggestion
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Network Setup Scripting
  • Next by Date: Re: secure text fields
  • Previous by thread: Re: Network Setup Scripting
  • Next by thread: Re: Code completion suggestion
  • Index(es):
    • Date
    • Thread