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: Thu, 16 Jan 2014 22:47:28 +1100
On 16 Jan 2014, at 6:10 PM, Frederik Vande Rieviere <email@hidden> wrote:
> I made an NSObject (blue cube) with its class property as Dialog and I gave it the name Dialog. In Interface builder I then connected the property mainWindow from it to the window that needs to display the sheet dialog by control-dragging the blue cube to the window and selecting the mainWindow property.
OK. So now your other script needs some way of talking to that instance, rather than the Dialog class. So the other script needs a property set to missing value, and for this to be connected to your Dialog object. Then you can call transform_ on the object by using the property, rather than calling it as a class method.
--
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