Re: 10.11 Issues?
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