Re: Question concerning applescript subclasses and alerts as sheets
Re: Question concerning applescript subclasses and alerts as sheets
- Subject: Re: Question concerning applescript subclasses and alerts as sheets
- From: Shane Stanley <email@hidden>
- Date: Fri, 17 Jan 2014 09:39:37 +1100
On 17 Jan 2014, at 1:56 AM, Frederik Vande Rieviere <email@hidden> wrote:
> I defined the property and connected it in IB to my Dialog instance so the main script should be able to talk to it through the connected property, but what is the transform_ method and how does it work?
Sorry, I meant showSheet_ (transform_ was in one of your earlier messages to the list, and I copied from the wrong one).
>
> On a sidenote : Am I correct to state that when you call a handler on a different class directly, the application automatically creates an instance of it, which is subsequently destroyed when the method finishes?
No; it treats the handler as a class method. That was your problem: you were calling it as a class method, and by definition a class can't have outlets connected to objects.
--
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