Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determine if App is launched thru alias?



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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev %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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Determine if App is launched thru alias? (From: spsaxena <email@hidden>)
 >Re: Determine if App is launched thru alias? (From: spsaxena <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.