This console application tracks user activity by logging active window titles and process names.
- Build the project using Visual Studio or the .NET CLI.
- Run the
ActivityTracker.exe
directly, or use therun_tracker.bat
to start it minimized. - To quit, either press 'Q' in the console window or close the window.
To make the tracker start automatically when you log in:
- Press Win+R, type
shell:startup
, and press Enter. - Create a shortcut to
run_tracker.bat
in this folder.
The activity log is saved as activity_log.csv
in the same directory as the executable.
Error logs, if any, are saved as error_log_YYYYMMDD.txt
.
This application uses Windows API calls and may require elevated permissions to access information about some windows and processes.