On Wed, 9 Feb 2011 09:23:45 -0600, "Mr. Gecko" <grmrge...@gmail.com> 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 = m...@tidbits.com, <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 (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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com