Re: mouse control

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ulf Dornheck Busscher (ulfdb_at_web.de)
Date: 11/02/04


Date: Tue, 2 Nov 2004 20:16:45 +0100

gabor salai wrote:
> is there script that may simulate all user's action:

I don't think so ... but maybe you can create one. ;-)

> a) keyboard press, letters as well special win keys like alt+enter

This is easy ... just use the SendKeys method of the Wscript.Shell object.

> b) mouse moving [pointer moving accross the screen] and click and
> double click

This is not easy ... in fact I think it is impossible without using windows
api's (which is not possible via a script).

> the idea is to have recorded [i'll rather say programaticaly
> "constructed"] all keyboard and mouse activities and than making
> "replay"

I'm sure there are tons of existing non-scripting solutions for this problem
(macro recorder, etc.). Why don't use one of them?

Ulf



Relevant Pages

  • Re: ipaddress attribute for "assign a static IP address" in adsi
    ... Ulf, ... searchNumber = searchNumber & CStr) ... Set objConnection = CreateObject ... > distinguished name of that OU) as the search scope to the script. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Excelsheet mit mehreren Tabellenblätter
    ... Hallo Ulf, ... Set obj = CreateObject ... obj.Caption = "Excel per Script" ...
    (microsoft.public.de.german.scripting.wsh)
  • Re: scripting problem
    ... Please do not reply to email address - its fake. ... >> Microsoft Windows Script Host Version 5.6 ... >> Copyright Microsoft Corporation 1996-2001. ... > Ulf B. Simon-Weidner ...
    (microsoft.public.windows.server.active_directory)
  • Re: Programm automatisch starten?
    ... Ulf Volmer wrote: ... das einen Effekt gebracht. ... Das Script wird in der .fvwm2rc aufgerufen. ...
    (de.comp.os.unix.x11)
  • RE: Giving focus to a particular sheet
    ... This kind of query can easily be answered by using the macro recorder and ... examining the resulting script - a "must do" for anyone beginning to use VBA ... The sheet is called sheet1 ...
    (microsoft.public.excel.programming)