Recent

Author Topic: [UPDATE]Hook - Macro Recorder - Capture mouse - playback - hotkey Only Mouse  (Read 582 times)

Guser979

  • Jr. Member
  • **
  • Posts: 69
I had this need and maybe others might have it.

A tool to record mouse events and play them back. It is an adaptation of a well-known project presented by LazPlanet.
The video only demonstrates the possibilities (Drag and drop, Wheel, clicks...).

More experienced programmers will be able to improve it.

I hope it helps someone at some point.
Thanks to LazPlanet.

Sorry, Windows only.

https://youtu.be/-uFOus51x6k



An update:

1) Implemented HOTKEYS (unit kl.pas) to start and stop recording.

Thanks:   https://forum.lazarus.freepascal.org/index.php/topic,37049.msg365574.html#msg365574

2) Created Thook Class (clashook.pas) for mouse events.

Thanks: Lazplanet

This way the code in fmain1 is clean. And most importantly: no more exceptions errors.

Again: Experienced programmers can improve and correct possible implementation errors.
It is also possible to include keyboard activities in macros.

The name of the project: keylogger. Inherited from the adaptation of this project:

  https://forum.lazarus.freepascal.org/index.php/topic,37049.msg365574.html#msg365574

Remember: It works as is. Improvements and proper coding are up to each individual.

« Last Edit: September 28, 2024, 02:42:56 pm by Guser979 »

 

TinyPortal © 2005-2018