Re: How to use Uniform Type Identifiers for this ... ?
Re: How to use Uniform Type Identifiers for this ... ?
- Subject: Re: How to use Uniform Type Identifiers for this ... ?
- From: Jay Reynolds Freeman <email@hidden>
- Date: Mon, 26 Oct 2009 00:46:21 -0700
By "mousing on", I refer to the action of double-clicking a document
so as to cause an an appropriate application to launch and deal with
that document.
The desired actions are: Double-click Able ==> Alice launches and
deals with Able; double-click Bravo ==> Bob launches and deals with
Bravo. Dragging Bravo onto Alice or Able onto Bob should result in no
launch of either.
The goal is an end-to-end test of the double-click/launch/deal-with
process. There are matters of initialization and synchronization of
the various threads of my app, hence I intend to test all flavors of
document-opens-on-launch frequently, to be sure I have not messed
things up.
I thank the group for advice, I think I am on top of this one for the
moment.
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
On Oct 25, 2009, at 11:57 PM, Greg Guerin wrote:
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.
_______________________________________________
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