On May 13, 2016, at 10:21 AM, Dave <d...@looktowindward.com> 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 <d...@looktowindward.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to