🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #151

Re: Moving the mouse.

#151
From: Bobby NesSmith
Date: Fri, 08 Oct 1999 00:00
21 lines
1827 bytes
Try using the SetPos API.
Add the following into a module.
---Cut Here---
Public Declare Function SetCursorPos Lib "user32" Alias "SetCursorPos"
(ByVal x As Long, ByVal y As Long) As Long
---End Cut---

Example: SetCursorPos 50,100

~Reboot~
3:23 A.M.
October 8, 1999

------Original Message------
Lonnie Boudreaux <nospam@no.spam.nsc> wrote in message
news:MPG.1266fb96fd33d66989680@news1.lig.bellsouth.net...
> Does anyone know how to make a program move a mouse on the screen,
> hopefully predetermined places.  Like sending keystrokes maybe.
>
> Thanks
> Lonnie
Technical Details
Message-ID: <jNhL3.2049$bj6.75719@news4.giganews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <MPG.1266fb96fd33d66989680@news1.lig.bellsouth.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108062,63f552b98eacd03e
X-Google-Attributes: gid108062,public
X-Google-Thread: 110e3b,63f552b98eacd03e
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f645d,63f552b98eacd03e
X-Google-Attributes: gidf645d,public
X-Google-Thread: fb992,63f552b98eacd03e
X-Google-Attributes: gidfb992,public
X-Google-Thread: 1017ee,63f552b98eacd03e
X-Google-Attributes: gid1017ee,public
From: "Bobby NesSmith" <bobbyn@texoma-ok.com>
Subject: Re: Moving the mouse.
Date: 1999/10/08
Message-ID: <jNhL3.2049$bj6.75719@news4.giganews.com>
X-Deja-AN: 534240496
References: <MPG.1266fb96fd33d66989680@news1.lig.bellsouth.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Trace: sv1-unOAjth6Uj2LXUtFK1H0r9hof9EODNk7ccfbFhVvTNOyKJaAjUT0WkOAF9Ue/anDLJL1IkHV/ICqn95!uP8JSybHtA==
Organization: Giganews.Com - Premium News Outsourcing
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 08 Oct 1999 03:18:23 CDT
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,comp.lang.visual.basic,cz.comp.lang.basic.visual,fj.comp.lang.basic