• 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
Re: Creating Low Level Events with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Low Level Events with Cocoa


  • Subject: Re: Creating Low Level Events with Cocoa
  • From: j o a r <email@hidden>
  • Date: Thu, 17 Apr 2003 17:54:38 +0200

You should read "CGRemoteOperation.h" from CoreGraphics.

j o a r

On Thursday, Apr 17, 2003, at 17:39 Europe/Stockholm, Michael Wallick wrote:

I'm new to Mac. development and need to do something
rather strange for a class project. We want to
determine various program's robustness to getting
random input sent it to (regardless if this input can
be reasonably generated in real life or not).

So, for example, we might want to send to Internet
Explorer a series of random mouse events. Or a
command to change the window size.

Do this would require (as I understand it) creating
low level system events (or apple events). All of the
documentation I can find only talks about how to
respond to these events, there is nothing talking
about how to generate them.

So my question is: How do I generate this type of
events in one program and send it to another? And
what is the most painless way of doing this? Our
first thought was that AppleScript might provide the
correct functionality, but the "events" that it
describes seems to be at a higher level (i.e. save,
open...)

We are willing to have an interface that will either
spawn the an application or have the user pass the
process ID of the program to be tested.

Thanks for any help!!!
_______________________________________________
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.

References: 
 >Creating Low Level Events with Cocoa (From: Michael Wallick <email@hidden>)

  • Prev by Date: Re: Poof?
  • Next by Date: Re: Poof?
  • Previous by thread: Creating Low Level Events with Cocoa
  • Next by thread: protecting time-limited demos
  • Index(es):
    • Date
    • Thread