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 13:13:31 +1100
On 10 Mar 2015, at 12:12 pm, S. J. Cunningham <email@hidden> wrote:
>
> I guess I was puzzled why you can access the properties of script objects directly but not script applications. I don't claim to have any expertise in object-oriented programming but why doesn't the same logic apply to both?
The two are quite different. In one case you're dealing with same instance of AppleScript, while the other is a separate process and separate instance of AppleScript -- you're actually sending an Apple event. That's not to say it couldn't all be done under the hood, but there's still a strong argument for keeping an application's properties private unless you want otherwise.
--
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