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 4 of 9 Topic 2174 of 2233
Post > Topic >>

Re: Controlling the Mouse and the Keyboard ???

by David Phillip Oster <oster@[EMAIL PROTECTED] > Oct 28, 2006 at 04:23 AM

In article <7Sy0h.9557$eE7.259@[EMAIL PROTECTED]
>,
 "Peter Olcott" <NoSpam@[EMAIL PROTECTED]
> wrote:

> "Gregory Weston" <uce@[EMAIL PROTECTED]
> wrote in message 
> news:uce-F2A420.21483227102006@[EMAIL PROTECTED]
> > In article <e3f0h.728$Mh6.313@[EMAIL PROTECTED]
>,
> > "Peter Olcott" <NoSpam@[EMAIL PROTECTED]
> wrote:
> >
> >> Does anyone know how to do this?
> >> Can you provide me any good links?
> >
> > For the mouse, you place your hand over the top of the mouse. You may
> > either rest your hand on it or grasp it on the sides with your
fingers.
> > Now move your hand around in a plane parallel to the ground.
> >
> > What are you actually trying to do? What do you mean by "controlling
the
> > mouse and keyboard?"
> 
> 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.
> 

It is called "GUI Scripting". It is part o Universal Access. It is off by 
default. It is off on over 90% of all Macs. It is a security hole. It 
can be enabled by the user on the "Universal Access" panel of System 
Preferences by selecting the [] Enable Access for Assistive Devices.

http://developer.apple.com/do***entation/AppleScript/Conceptual/AppleScriptX/Concepts/as_related_apps.html#//apple_ref/doc/uid/TP40001570-1149074

In addition, there are USB driver kits that show you how to write virtual 
keyboards and mice. Installing these requires getting the user to agree 
to a security dialog.

There are system calls in Core Graphics to move the mouse that are not 
restricted.
 




 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 18:19:20 PST 2009.