Re: How Can I Access Properties of Script Applications?
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