Re: Get ProcessSerialNumber of last front application
Re: Get ProcessSerialNumber of last front application
- Subject: Re: Get ProcessSerialNumber of last front application
- From: Matt Neuburg <email@hidden>
- Date: Wed, 9 Feb 2011 10:55:55 -0800
On Wed, 9 Feb 2011 09:23:45 -0600, "Mr. Gecko" <email@hidden> said:
>Hello, I am wondering how I can get the last front application ProcessSerialNumber so I can use SetFrontProcess to bring it back to front after they close the window to my application.
You can track applications as they come to the front using Carbon Events.
<http://www.cocoabuilder.com/archive/cocoa/155984-detecting-frontmost-application.html>
m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________
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