Mailing Lists: Apple Mailing Lists

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

basic apple events



Hi,

 

Is there a difference in the kAEOpenDocuments event between the following cases:

1)       The app isn’t running and the user double-clicks one the app’s documents.

2)       The app is running and the user double-click a document or drags it to the dock’s icon.

 

Or is kAEOpenApplication sent in case (1) as well as starting the app by double clicking it.

 

What I need to do is this. When the app starts I need to perform some actions. However, I need to perform them also when the app is launched by double clicking a document. I would like these actions to be done after the documents are open. What’s the best way to do this?

 

Thanx,

Yaron Tadmor

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to 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.