• 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: How Can I Access Properties of Script Applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Can I Access Properties of Script Applications?


  • Subject: Re: How Can I Access Properties of Script Applications?
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 10 Mar 2015 10:53:52 +1100

On 10 Mar 2015, at 9:46 am, S. J. Cunningham <email@hidden> wrote:
>
> But if you want to access multiple properties it requires multiple handlers [...].  Not undoable, but messy and inelegant.

Each to their own opinion, but the concept of encapsulating instance variables (which is what AS properties are, essentially) and requiring accessors for external access to them is one of the fundamentals of object-oriented programming. So you might be advised to be a little careful where you start calling it messy and inelegant.

Just sayin'...

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: How Can I Access Properties of Script Applications?
      • From: "S. J. Cunningham" <email@hidden>
References: 
 >How Can I Access Properties of Script Applications? (From: "S. J. Cunningham" <email@hidden>)
 >Re: How Can I Access Properties of Script Applications? (From: Stan Cleveland <email@hidden>)
 >Re: How Can I Access Properties of Script Applications? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: How Can I Access Properties of Script Applications?
  • Next by Date: Re: How Can I Access Properties of Script Applications?
  • Previous by thread: Re: How Can I Access Properties of Script Applications?
  • Next by thread: Re: How Can I Access Properties of Script Applications?
  • Index(es):
    • Date
    • Thread