Re: Determine if App is launched thru alias?
Re: Determine if App is launched thru alias?
- Subject: Re: Determine if App is launched thru alias?
- From: Rohan Lloyd <email@hidden>
- Date: Wed, 31 Oct 2007 17:21:28 +1100
What about defining a document type that you app handles.
Double clicking the document will run your app and send an 'odoc'
event to it, you then read whatever you need from the document.
On 31 Oct 2007, at 3:35 PM, spsaxena wrote:
Ya! you are very correct. I was trying the same...
I conclude that as of now it is not possible to modify alias to also
pass
command line parameters. So I have to choose some other way to
invoke the
application with parameters.
Thanks to everyone, but isn't it would be great if alias can also
keep the
parameters to invoke the application with. That would allow
application to
be run directly in some specific mode based on which alias is
triggered.
Alias would be small in size and it will not be like other
application which
will wait for the child application to quit. Anyway that was my
perspective.
Thanks again
-S
On 10/30/07, Rosyna <email@hidden> wrote:
Are you trying to something similar to the Windows feature that
allows you to assign command line parameters to be passed from
certain shortcuts to the applications that they launch?
Ack, at 10/29/07, spsaxena said:
Hi,Is there any way to determine whether an application has been
launched
directly or through any of its alias?
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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:
@rohanl.com
This email sent to email@hidden
_______________________________________________
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