Re: Application Activation Problem
Re: Application Activation Problem
- Subject: Re: Application Activation Problem
- From: email@hidden
- Date: Sat, 14 May 2016 23:01:41 +0900
Don't be so quick to judge it out of context.
Some would want a workspace launcher kind of utility app.
It's just not well supported unless you own the apps themselves.
Sent from my iPhone
> On May 14, 2016, at 9:45 PM, Ken Thomases <email@hidden> wrote:
>
>> On May 13, 2016, at 10:21 AM, Dave <email@hidden> wrote:
>>
>> That’s actually what I am doing. I monitor NSWorkspaceApplicationWllLaunchNotification, NSWorkspaceApplicatioDidLaunchNotification and NSWorkspaceDidActivateApplicationNotification (as well as others). For each notification I get I add the BundleID of the App to an Array. Then at some later point, I want to cycle through the Activates and re-send them in the same order they were activated originally.
>
>> On May 13, 2016, at 4:46 AM, Dave <email@hidden> wrote:
>> I’m using:
>>
>> [myRunningApp activateWithOptions:(NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps)];
>>
>> To activate an Application.
>
>
> I don't know why you think you need to do this, but it's a terrible idea. I'd hunt such an app down and remove it the first time it did this. This is going to un-interleave the windows of different apps that I want interleaved. This is going to un-hide apps I want hidden. It's going to flash windows all over. It's going to switch Spaces against my wishes, including to and from full-screen spaces. There's a chance it's going to unminimize windows I want minimized. It's certainly going to steal focus. It's horrible all over.
>
> Regards,
> Ken
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden