Creating Low Level Events with Cocoa
Creating Low Level Events with Cocoa
- Subject: Creating Low Level Events with Cocoa
- From: Michael Wallick <email@hidden>
- Date: Thu, 17 Apr 2003 08:39:39 -0700 (PDT)
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!!!
-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.