Re: can I move the mouse?

new topic     » goto parent     » topic index » view thread      » older message » newer message

------------FB22245290B27C4

> Hi
>
> I'm new to this so please bear with me.
>
> Is it possible for me to write a Win32 prog. so that the prog (as opposed to
> user) can move the mouse over the screen even when my window isn't the
> active one?
> Or am I only dreaming?
>
> Thanks
>
> Paul

Hi,
I have attached an include file I wrote to do just that.
Example:

include mouse.ew
mouse_SetPos({100,100}) --Set the position of the mouse to {100,100}
? mouse_GetPos() --Get the postion off the mouse (rel to the screen)
mouse_ClickLeft() --Click the left mouse button at current location
mouse_DragTo({200,200}) --Drag from current location to {200,200}

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.ratsoft.freeserve.co.uk/
Please leave quoted text in place when replying
------------FB22245290B27C4

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu