Re: Calling a handler from another script
Re: Calling a handler from another script
- Subject: Re: Calling a handler from another script
- From: Shane Stanley <email@hidden>
- Date: Wed, 24 Jun 2015 10:22:15 +1000
On 24 Jun 2015, at 10:04 am, Stan Cleveland <email@hidden> wrote:
>
> If I understand correctly, your post from 2009 and your post from today say the same thing.
Yes, one way or the other, you generally want to have instances. The app delegate is set up as one for you. You can make an instance of your other class either through a XIB connection (not binding -- that word is better reserved for actual bindings) or doing something like instantiating it in code:
property myOtherThing : missing value
...
set my myOtherThing to current application's CtrlrAppDelegate's alloc()'s init()
--
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