On Feb 16, 2010, at 6:31 PM, James Trankelson wrote:

> Hi,
> 
> I'm trying to figure out the general feasibility of the following task.
> 
> Imagine I have two separate applications, running side by side. Is it
> possible to take all of the mouse/keyboard inputs that are going into
> one of these applications, and send them to the other in a way that
> would allow me to 'control' the other app from the events generated in
> the first? I took a few steps to begin creating an infrastructure to
> support this, but then became concerned that I'd soon have issues with
> focusing, like if pressing buttons in the 'puppeted' application would
> take away the focus in the application sending the events.
> 
> Does anyone know if something like this is possible? If so, does
> anyone know of any applications that do this, or have any pointers
> that could help me with this?

The first thought off the top of my head was NSDistributedNotificationCenter.

Should be possible to flange up a mini-application to test the idea . . .

    Cheers,
        . . . . . . . .    Henry

=================================================
iPhone App Development and Developer Education . . .
        Visit  www.nonatomic-retain.com

Mac OSX Application Development, Plus a Great Deal More . . .
        Visit  www.trilithon.com

_______________________________________________

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

Reply via email to