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.


|