windows cursor control

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
Hrothgar
Coder
Posts: 25
Joined: Tue Nov 22, 2005 8:32 pm
Location: Perth, Oz

windows cursor control

Post by Hrothgar » Tue Nov 27, 2007 10:14 am

I'm looking for a good way to get control over the mouse cursor in windows xp. Ideally a way to read cursor locations and button information from a file. Something similar to the SETMOUSE command in fb.

Maybe something like a mouse macro? Or would I need to use some kind of driver for a virtual mouse?

any ideas?
Image
Towels may be harmful if swallowed in large quantities.

supernova
Newbie
Posts: 7
Joined: Fri Oct 05, 2007 2:10 am
Location: australia

Post by supernova » Tue Nov 27, 2007 9:48 pm

I think VB.NET has some mouse controls you could play with.
SYNTAX ERROR ...

User avatar
burger2227
Veteran
Posts: 2331
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Wed Nov 28, 2007 1:10 am

VB can mess with a mouse too, but them buggers are hard to catch!

Do you realize how much data would be in a file like that? WHY?

User avatar
k7
Coder
Posts: 41
Joined: Wed Aug 01, 2007 7:38 am
Location: Tasmania, Australia
Contact:

Post by k7 » Thu Nov 29, 2007 4:38 am

I've done it before in Visual Basic 6 to make a macro for Runescape.

Hrothgar
Coder
Posts: 25
Joined: Tue Nov 22, 2005 8:32 pm
Location: Perth, Oz

Post by Hrothgar » Sun Dec 23, 2007 10:52 am

VB looks promising but I'm a bit newbish in it and while it's pretty simple to get data from the mouse it seems a lot harder to get the mouse to follow the data.

my grand scheme, although it's probably above my current abilities, is to write a program that allows remote mouse control over an ethernet network (kinda like remote desktop) using a small amount of mouse data (say x,y,buttons,visibility) saved across the network to control the mouse on the other computer. Ultimately the plan is to have two computers linked with a couple of lan cables with the screens next to each other controlled by one mouse in a similar way to a dual monitor setup where when your cursor moves off the edge of one screen it appears on the other at the same location.

anyone think it can be done like that?
Image
Towels may be harmful if swallowed in large quantities.

Post Reply