I am launching my app through applet. So passing arguments as command line is only current solution for me.
Thanks, Palav On 5/24/08, Andreas Mayer <[EMAIL PROTECTED]> wrote: > > Am 24.05.2008 um 08:08 Uhr schrieb Andrew Farmer: > >> GUI applications generally do not take arguments - opened files are >> passed using Apple Events. Hence, Launch Services doesn't provide >> any way to pass arguments. > > You can use Apple Events yourself, though. See NSWorkspace's > - > launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier > : > > > Andreas > _______________________________________________ > > 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/parag.vibhute%40gmail.com > > This email sent to [EMAIL PROTECTED] > -- There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'. _______________________________________________ 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]