Requirements update
This commit is contained in:
parent
84684265fd
commit
e2d351b37a
1 changed files with 17 additions and 1 deletions
18
README.md
18
README.md
|
|
@ -7,4 +7,20 @@ This is to simulate an activity from the user so that apps like Teams don't swit
|
|||
|
||||
It uses a thread so the user still can click the Stop button to regain control.
|
||||
|
||||
Use it at your own risks and responsabilities.
|
||||
Use it at your own risks and responsabilities.
|
||||
|
||||
2029-09-29
|
||||
Initial push
|
||||
|
||||
2029-09-29
|
||||
Requires to add a click at 0:0 each 1 minute as moving the mouse is not enough for Teams
|
||||
|
||||
procedure ClickAt(X, Y: Integer);
|
||||
begin
|
||||
// Move cursor to specific screen coordinates
|
||||
SetCursorPos(X, Y);
|
||||
|
||||
// Simulate mouse button press and release
|
||||
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
|
||||
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Reference in a new issue