On 11/03/15 08:50, Deanna Earley wrote:
> On 11/03/2015 08:12, R.Wieser wrote:
>> Also, as mentioned earlier, the "focussed app" is more-often-than-not not
>> written by me, and have no control over what it does internally.
>
> So you're sending input to random, unknown applications?
It sure sounds like it. It may be kinder to say that he is sending input
to applications decided upon by the user at run-time.
At least, I hope he is. The alternative doesn't bear thinking about.
I am reminded of a little hack that we cobbled together at MumbleCo
during Y2K - I wrote a client, and a colleague wrote a server, that
between them would allow a remote user to:
(a) send keystrokes;
(b) pop up a dialog box with a given title and message;
(c) execute a specified program
on the box that was running the server. We then installed the server on
Dave's computer (we hid it by launching it from the registry on bootup,
and gave it a sufficiently official-sounding name that he wouldn't
easily be able to spot it in Task Manager's process list), and waited
for him to work out why Word or Notepad or Excel would occasionally fire
up of its own accord, and why his source code would occasionally
spontaneously generate a few extra letters, eg turning x = y + z; into
xj =3 yq0 + ,z;.
It took him all morning, but eventually he worked it out, not so much
from a technical perspective as from all the suppressed giggling.
As with so many of these ideas, we eventually turned it into something
useful: we were asked to come up with a way of running the same program
simultaneously (+/- 5 seconds) on all the machines on a LAN, and it was
a perfect match for that requirement.
--
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within