Re: Why won't this call a method in AppDelegate?
Re: Why won't this call a method in AppDelegate?
- Subject: Re: Why won't this call a method in AppDelegate?
- From: Shane Stanley <email@hidden>
- Date: Wed, 17 Dec 2014 12:22:38 +1100
On 17 Dec 2014, at 11:54 am, Brian Christmas <email@hidden> wrote:
>
> RunForOz is a flag that allows me to execute test commands only if the local time is Australian time.
If it's a flag, it has to be a property. If it's a property, you can't use it in a method you're calling as a class method because classes don't have properties.
Call it as an instance method, using "current application's NSApp's delegate()".
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden