• 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: 10.11 Issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.11 Issues?


  • Subject: Re: 10.11 Issues?
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 15 Jun 2015 09:22:41 +1000

On 15 Jun 2015, at 6:35 am, Doug Adams <email@hidden> wrote:
>
> 		if (current application's NSWindow's instancesRespondToSelector:"endSheet:") as boolean is true then

You can simplify that a bit:

	if (aWindow respondsToSelector:"endSheet:") as boolean then

> 			tell current application's class "NSApplication"'s sharedApplication()

And that:

	tell current application's NSApplication's sharedApplication()

But I'm really hoping NSApp is only a temporary loss.


--
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


References: 
 >10.11 Issues? (From: Doug Adams <email@hidden>)
 >Re: 10.11 Issues? (From: Shane Stanley <email@hidden>)
 >Re: 10.11 Issues? (From: Doug Adams <email@hidden>)
 >Re: 10.11 Issues? (From: Doug Adams <email@hidden>)

  • Prev by Date: Re: 10.11 Issues
  • Next by Date: Re: 10.11 Issues
  • Previous by thread: Re: 10.11 Issues?
  • Next by thread: Re: 10.11 Issues
  • Index(es):
    • Date
    • Thread