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: spsaxena <email@hidden>
- Date: Thu, 1 Nov 2007 12:33:21 +0530
Actually my intent was to keep the current design behavior as is, which is
something like there is an application and there is an alias to it installed
at some other fixed location.
I tried several ways but most suited in my scenario was to have another
small redirector cocoa application near actual application and the alias to
point to redirector one. Redirector now simply invokes the actual
application with parameters.
Anyway Thanks everyone.
-S
On 10/31/07, John Stiles <email@hidden> wrote:
>
> I was considering a similar suggestion. This is what documents are
> for. The fact that Windows uses shortcuts to pass command line
> arguments is basically a hack.
>
>
> On Oct 30, 2007, at 11:21 PM, Rohan Lloyd wrote:
>
> > 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:
> >> 40rohanl.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:
> > 40blizzard.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