Re: Automatically controlling the mouse and keyboard for GUI scripting?




"Jan Panteltje" <pNaonStpealmtje@xxxxxxxxx> wrote in message
news:ei2f92$pvu$1@xxxxxxxxxxxxxxxxxx
On a sunny day (Sun, 29 Oct 2006 08:22:39 -0600) it happened "Peter Olcott"
<NoSpam@xxxxxxxxxxxxx> wrote in <QO21h.20926$i8.15949@xxxxxxxxxxxx>:

OK, I am doing your homework, try this:
man XEventsQueued
this reads from the X event queue, but I see there is also a
man XPutBackEvent
and that allows unlimited pushing of events on the event stack?
I have not tried this function ever, so it may not do what you want.
At least you know where to look for X-windows.

Can you direct me to a place where people would know this?

No, this is best place I think, maybe there is an Xwindows group though.

Is X-Windows the only system under Linux that uses a mouse?

No it is not, 'Linux' look at it as the basic kernel, basic OS.
All other stuff (applications) run on it, including the X server.
but for example there is also SVGAlib, with GUI and mouse.
The GUI is not part of the OS itself.

I am looking for a way to simulate the effect of the hardware input devices of
keyboard and mouse that is as close to the hardware as possible. For example,
directly invoking the hardware keyboard interrupt. If the X Window system is
merely a layer on top of this, then the X window system may be at a higher level
of abstraction than I want to deal with. I would prefer to have a single
solution that always works, even if this solution might need to be restricted to
a specific hardware platform. What would be even better would be a single
solution that works on every hardware platform, regardless of the user interface
layer.

Although you will find keyboard and mouse events in
cat /dev/input/event0
cat /dev/input/event3
I dunno how to 'feed' into that (cannot open for write).
So you will have to work at the application level, and as others have pointed
out
X can run on an other machine too.

As for patented .... prior art and no software patents in Europe.

That is not true, I just checked.

You checked wrong.

Even though the law explicitly forbids
software patents, this only requires a change of wording that IBM and others
have been successful with for many years.

No way, and in fact a UK court just threw out an other attempt like that:
http://www.bailii.org/ew/cases/EWCA/Civ/2006/1371.html

http://en.wikipedia.org/wiki/Software_patents_under_the_European_Patent_Convention


Do not get me started on this, several companies use code ideas and hardware
solutions I have come up with in open source projects.
Normally I am proud of that, and sometimes they are polite enough to ask
before they do.
Only in one case it was clearly copycat and I objected to the way they went
about
it, so they had somebody else program the stuff then the one who looked at my
code.
Some solution.

For the small company or lone programmer with limited resources patenting yet
an
other solution (as there are thousands) is too expensive anyways.

www.SeeScreen.com provides the only possible way to easily automate any
computer user task that is inherently compatible with every system, platform,
and application. It is by far not merely yet another solution to the same
problem solved many times before. Instead it is the single unique solution to a
problem never solved before.

As is paying for others patents on every line of code (not to mention the time
searching
to see if somebody patented something like 2 x 3).
So I do not want software patents, Europe has come a long way in IT without
these, and
not having these patents stimulates creativity and new solutions.
Yes in the US big companies like MS and IBM patent thousand of totally obvious
things
each year..... and exchange patent folios.
A reason alone US should be sunk to the bottom of the ocean.
But climate change will take care of that, penguins will walk all over
Redmond.





.



Relevant Pages

  • Re: Failed Commodore projects...
    ... hardware is not copyrightable in sense. ... it is mere a modified Commodore Floppy Controller but replace the FDC ... replaced with IDE controller chip. ... Unless someone can point out in the US Trademarks & Patents Office ...
    (comp.sys.cbm)
  • Re: How Many Processor Cores Are Enough?
    ... Lock-free reader patterns can scale. ... he already has tons of RCU patents... ... I don't want to be forced to use message passing. ... I would support partially hardware assisted ...
    (comp.arch)
  • Re: Barcode Scanner Patents and Workarounds?
    ... If you want to use hardware that is based on their patents, ... Pegasys Software, ... The symbologies themselves are ...
    (microsoft.public.dotnet.general)
  • Re: SCO identifies code?
    ... >> talking to hardware. ... jh> defense of independent invention becomes plausible. ... show that the person had access to the original code and so had an ... Copyright is not patents: in copyright you actually have to have copied ...
    (Debian-User)