Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling cocoa app from command line




Am 15.03.2007 um 23:17 Uhr schrieb John Stiles:

On Mar 15, 2007, at 3:12 PM, Patrick Hartling wrote:

Is there a way for an application to bring itself forward programmatically
to get the same result as using 'open' or by double-clicking on the icon?

Yes (SetFrontProcess),

Or -activateIgnoringOtherApps: (NSApplication). This is cocoa-dev, after all. :)



Andreas _______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Calling cocoa app from command line (From: dew drops <email@hidden>)
 >Re: Calling cocoa app from command line (From: Daryl Thachuk <email@hidden>)
 >Re: Calling cocoa app from command line (From: Mark Ritchie <email@hidden>)
 >Re: Calling cocoa app from command line (From: "Clark Cox" <email@hidden>)
 >Re: Calling cocoa app from command line (From: John Stiles <email@hidden>)
 >Re: Calling cocoa app from command line (From: Patrick Hartling <email@hidden>)
 >Re: Calling cocoa app from command line (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.