Talk About Network

Google





Mac > Code warrior for Mac > Re: Controlling...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 2174 of 2233
Post > Topic >>

Re: Controlling the Mouse and the Keyboard ???

by "Peter Olcott" <NoSpam@[EMAIL PROTECTED] > Oct 28, 2006 at 09:43 PM

"Jens Ayton" <RWSMSGZIARJZ@[EMAIL PROTECTED]
> wrote in message 
news:ihS0h.21109$E02.8666@[EMAIL PROTECTED]
> Peter Olcott:
>>
>> Sorry I was too concise for anyone to see what I was saying. I am
talking 
>> about
>> simulating the actions of a human user with software. MS Windows has
several 
>> OS
>> functions for this purpose. mouse_event(), keybd_event(), and
SendInput(). I
>> want to know whether or not Mac OS has this same sort of feature, and
what 
>> the
>> feature would be called.
>
> CGEventCreateMouseEvent()
> CGEventCreateKeyboardEvent()
> CGEventPost()
> CGEventPostToPSN()
>
>
> -- 
> Jens Ayton

That is exactly what I needed, thanks.
 




 9 Posts in Topic:
Controlling the Mouse and the Keyboard ???
"Peter Olcott"   2006-10-26 22:31:33 
Re: Controlling the Mouse and the Keyboard ???
Gregory Weston <uce@[E  2006-10-27 21:48:32 
Re: Controlling the Mouse and the Keyboard ???
"Peter Olcott"   2006-10-27 21:01:51 
Re: Controlling the Mouse and the Keyboard ???
David Phillip Oster <o  2006-10-28 04:23:54 
Re: Controlling the Mouse and the Keyboard ???
"Peter Olcott"   2006-10-28 09:07:16 
Re: Controlling the Mouse and the Keyboard ???
David Phillip Oster <o  2006-10-28 16:07:40 
Re: Controlling the Mouse and the Keyboard ???
"Peter Olcott"   2006-10-28 11:36:13 
Re: Controlling the Mouse and the Keyboard ???
Jens Ayton <RWSMSGZIAR  2006-10-29 00:07:42 
Re: Controlling the Mouse and the Keyboard ???
"Peter Olcott"   2006-10-28 21:43:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 17:30:08 PST 2009.