- Pascal 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- To test whether the click at 1:1 works or not. Mouse UP should be done before moving back |
||
| BatteryHealth.Artwork/Windows | ||
| .gitignore | ||
| BatteryHealth.dpr | ||
| BatteryHealth.dproj | ||
| main.dfm | ||
| main.pas | ||
| README.md | ||
TiltTeamPresence
Simulates a fake activity on your computer by moving the mouse back and forth by 2 pixels to keep the session active.
Fake "battery health measurement" app that actually moves the mouse 2 pixels in each directions, back and forth. This is to simulate an activity from the user so that apps like Teams don't switch the Green status to Orange one (present but inactive).
It uses a thread so the user still can click the Stop button to regain control.
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;