Subject: Re: How to use Uniform Type Identifiers for this ... ? From: Jay Reynolds Freeman <em...@hidden> Date: Sun, 25 Oct 2009 20:28:24 -0700 Delivered-to: em...@hidden Delivered-to: em...@hidden
The issue isn't that it crashes, the issue is that I cannot test that any given version of "MyApp" does the right thing with the right version of the binary file, unless I can get the finder to match up the file that I mouse on with the right version of the app.
Drag the binary file of interest onto the given version of "MyApp". You don't have to rely on Finder matching them up. You can do it yourself, and IIRC the same sequence of actions/events results as if the app were started by double-clicking the data file in Finder. I've done tests like this myself and never seen a difficulty.
Or I may still be misunderstanding what you're trying to do. It might clarify things if you called the two versions of your app Alice and Bob, and two versions of the file Able and Bravo. So Alice can get Able or Bravo files, Bob can get Able or Bravo files, and tell us what you want to happen (or don't want to happen).
Finally, I'm unsure of exactly what you mean in your original post when you use the word "mouse" as a verb, as in "If I mouse on ...". Do you mean a hover, a single-click, a double-click, a drag-n-drop, or a contextual-click (right or ctrl click)? All of these gestures involve the mouse, but each one is a distinct gesture with a distinct meaning.
-- GG _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com