• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sending event to another application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending event to another application


  • Subject: Sending event to another application
  • From: Michael Wallick <email@hidden>
  • Date: Fri, 18 Apr 2003 13:57:56 -0700 (PDT)

How would I send an event/message (mouse move,
keyboard, message of some sort) from a program that
I'm writting to a running (already compiled)
application such as iTunes, or Internet Explorer.

Currently I'm using CGPostMouseEvent to do mouse
events and CGPostKeyboadEvent to do keyboard events.

I don't know how to direct these actions at
applications that do not have focus, nor do I know how
to end other types of messages.

Thanks (again) for any help!
-michael
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Programatically waking from sleep
  • Next by Date: How does NSTextTab really work?
  • Previous by thread: Re: Distributed Objects In A Network of Macs
  • Next by thread: How does NSTextTab really work?
  • Index(es):
    • Date
    • Thread