• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question concerning applescript subclasses and alerts as sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Question concerning applescript subclasses and alerts as sheets
      • From: Frederik Vande Rieviere <email@hidden>
References: 
 >Question concerning applescript subclasses and alerts as sheets (From: Frederik Vande Rieviere <email@hidden>)
 >Re: Question concerning applescript subclasses and alerts as sheets (From: Shane Stanley <email@hidden>)
 >RE: Question concerning applescript subclasses and alerts as sheets (From: Frederik Vande Rieviere <email@hidden>)
 >Re: Question concerning applescript subclasses and alerts as sheets (From: Shane Stanley <email@hidden>)
 >RE: Question concerning applescript subclasses and alerts as sheets (From: Frederik Vande Rieviere <email@hidden>)
 >Re: Question concerning applescript subclasses and alerts as sheets (From: Shane Stanley <email@hidden>)
 >RE: Question concerning applescript subclasses and alerts as sheets (From: Frederik Vande Rieviere <email@hidden>)

  • Prev by Date: RE: Question concerning applescript subclasses and alerts as sheets
  • Next by Date: RE: Question concerning applescript subclasses and alerts as sheets
  • Previous by thread: RE: Question concerning applescript subclasses and alerts as sheets
  • Next by thread: RE: Question concerning applescript subclasses and alerts as sheets
  • Index(es):
    • Date
    • Thread