Page 1 of 1

Mouse Recording

Posted: Sat Feb 19, 2005 8:05 pm
by spongehammer
Hi All,

i was searching for some code to give me an idea as to how to write my own mouse recorder. I did find this;
http://www.purearea.net/pb/showcase/sho ... =20&sort=2

which is great, and does most of what i need. Does anyone have any code which shows how this might be achieved.
I am guessing that i would need to use hooks but i am not sure.

Thanks

Posted: Sun Feb 20, 2005 12:40 am
by Mischa
Not the actual version!

Take this:
http://www.thinkrelative.de/Recorder.exe

You don't need hooks for simple mouse recording.
I've only used:
GetAsyncKeyState_(), GetCursorPos_(), mouse_event_()
and SetCursorPos_(). Thats all.

Some hints:

multi monitoring = screen coordinates could be negative :wink:
Doubleclick time = system dependent!

Regards,
Mischa

Posted: Sun Feb 20, 2005 12:43 am
by traumatic
Mischa wrote:Doubleclick time = system dependent!
You've never seen my mom trying to double click... ;)

Posted: Sun Feb 20, 2005 12:10 pm
by spongehammer
Thanks Mischa,

that's the sort of pointer i needed :D

Chris

Posted: Sun Feb 20, 2005 2:07 pm
by GeoTrail
traumatic wrote:
Mischa wrote:Doubleclick time = system dependent!
You've never seen my mom trying to double click... ;)
hehehehe
my girlfriend doubleclicks everything. even links and buttons on a webpage. can't imagine why and I've told her she don't have to do that, but, she still does it :lol:

Posted: Wed Feb 23, 2005 1:36 pm
by Kale
Any way to speed up the playback many times over, maybe 1000%? :?

Posted: Thu Feb 24, 2005 4:47 am
by dagcrack
it would be nice if it cached keys also.
:D

Posted: Thu Feb 24, 2005 5:13 am
by NoahPhense
Kale wrote:
Any way to speed up the playback many times over, maybe 1000%? :?
heh.. how about a speed 'slider' .. ;)