Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 759 Bytes

File metadata and controls

27 lines (17 loc) · 759 Bytes

VS Code Time Tracker

A minimalist time-tracking python script for windows. Logs 1 minute intervals during which vscode process Code.exe was running and you were not afk.

Install

To install the required packages, run:

pip install -r requirements.txt

Run

Add the following codett.vbs script to the Startup folder:

Set WshShell = CreateObject("WScript.Shell")
WshShell.CurrentDirectory = "C:\path\to\your\desired\working\directory"
WshShell.Run """C:\path\to\python.exe"" ""C:\path\to\time_tracker\main.py""", 0

Make sure to replace C:\path\to\your\desired\working\directory as well as C:\path\to\python.exe and C:\path\to\time_tracker\main.py

Output

Generates vscode_time_log.txt in its working directory.