On 17 Mar '08, at 10:06 AM, Robert Tillyard wrote:
If you're looking fot the equivalent of argc/argv you might be looking for...NSProcessInfo *procInfo = [NSProcessInfo processInfo]; NSArray *args = [procInfo arguments];
But documents to be opened are never passed through argv; they're sent as AppleEvents and passed to the NSApplication's delegate.
There's almost never a need to access argv from a GUI app. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]