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: René v Amerongen <email@hidden>
- Date: Tue, 30 Oct 2007 18:26:40 +0100
Hi,
You can do two things, put somewhere an alias to your app, read that
alias info and use that path found in the alias to your app with the
options.
Or put the alias in the project and read the alias path info, and
kickstart or jump to your app.
For reading the alias you have to check FSRef, or, I remember that I
did check N Day his NDAlias, which was a good sample explaining the
Apple docs.
HTH
Op 30-okt-2007, om 10:32 heeft spsaxena het volgende geschreven:
Thanks René, but actually I don't want to have an kick starter
application or an apple script as Alias helps in finding relocated
app.
On 10/30/07, René v Amerongen <email@hidden> wrote:
HI
I was looking into this also, a few years back, but couldn't find any
solution.
What I did was, creating a small kickstarter app, put the options
inside the code, compiled it.
the code inside started the target app with those options. This for
each set of options.
Yes, you have to compile for each set of options a kickstarter alias.
But its so small, it will take just seconds to do.
Or maybe you can do something with applescript.
HTH
Op 30-okt-2007, om 5:36 heeft spsaxena het volgende geschreven:
> See I am having an application that behaves differently based on the
> parameters invoked upon. The application is relocatable and it
> already used
> to maintain aliases. I just want to extend that functionality of
> alias (if
> possible) to also pass a parameter to the application while
> invoking the
> same. So I wanted to know if at all it is possible? If yes then
how...
> Thanks
>
> On 10/29/07, parag vibhute <email@hidden> wrote:
>>
>>
>> Can u tell why do you want to find such info?
>>
>> Thanks,
>> Parag
>>
>> On 10/29/07, spsaxena <email@hidden > wrote:
>>
>>> Hi,Is there any way to determine whether an application has been
>>> launched
>>> directly or through any of its alias? Or while creating the alias
>>> can I
>>> set
>>> any property which would later help me out in determining this.
>>>
>>> Thanks,
>>> S!
>>> _______________________________________________
>>>
>>> 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:
>>>
>>> 40gmail.com
>>>
>>> This email sent to email@hidden
>>>
>>
>>
>>
>> --
>> Software Programmer
>> Fortune Infocomm Pvt. Ltd.
>>
>>
>> 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 (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:
40xs4all.nl
>
> 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:
40gmail.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