Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/AutoTimer.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

39 changes: 34 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
Tracking the desktop applications in real time and time spent on each application.
# AutoTimer

Check out this for more https://youtu.be/ZBLYcvPl1MA
---
### Here's original writing by original author: [Kalle Hallden](https://github.com/KalleHallden)
Auto timer is used to track the desktop applications in real time and time spent on each application.

Dependencies:
Check out this for more https://youtu.be/ZBLYcvPl1MA

#### Dependencies:

- selenium

#### Windows Depencies

- pywin32
- python-dateutil
- uiautomation

---
### Here's what I added
#### Environment

Windows Depencies
- Windows 10
- IDE: PyCharm
- Python 3.6

#### Windows Dependencies

- pywin32
- python-dateutil
- uiautomation
- uiautomation

#### Dependencies I deleted

- AppKit
- Foundation

---
### Explanation
1. I deleted the macOS part because I found that downloading AppKit package is a trouble thing in Windows OS.

2. I updated the python version from 2.7 to 3.6, and I deleted the old env dir and add a new one, which is named venv.

3. There are still have some bugs. For example, When I open a page in Chrome, the program fail to track it. And when I open a login page with a Form saved in Chrome, the cmd will print the Form's content.
272 changes: 272 additions & 0 deletions activities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
{
"activities": [
{
"name": "AutoTimer \u2013 autotimer.py",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:12:07",
"hours": 0,
"minutes": 0,
"seconds": 10,
"start_time": "2021-06-20 15:11:57"
}
]
},
{
"name": "AutoTimer \u2013 activities.json",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:12:12",
"hours": 0,
"minutes": 0,
"seconds": 5,
"start_time": "2021-06-20 15:12:07"
},
{
"days": 0,
"end_time": "2021-06-20 15:12:17",
"hours": 0,
"minutes": 0,
"seconds": 4,
"start_time": "2021-06-20 15:12:13"
},
{
"days": 0,
"end_time": "2021-06-20 15:12:30",
"hours": 0,
"minutes": 0,
"seconds": 8,
"start_time": "2021-06-20 15:12:21"
}
]
},
{
"name": "",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:12:13",
"hours": 0,
"minutes": 0,
"seconds": 1,
"start_time": "2021-06-20 15:12:12"
},
{
"days": 0,
"end_time": "2021-06-20 15:12:34",
"hours": 0,
"minutes": 0,
"seconds": 3,
"start_time": "2021-06-20 15:12:31"
},
{
"days": 0,
"end_time": "2021-06-20 15:56:15",
"hours": 0,
"minutes": 0,
"seconds": 1,
"start_time": "2021-06-20 15:56:14"
},
{
"days": 0,
"end_time": "2021-06-20 15:56:32",
"hours": 0,
"minutes": 0,
"seconds": 6,
"start_time": "2021-06-20 15:56:25"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:06",
"hours": 0,
"minutes": 0,
"seconds": 3,
"start_time": "2021-06-20 15:57:03"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:29",
"hours": 0,
"minutes": 0,
"seconds": 3,
"start_time": "2021-06-20 15:57:26"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:47",
"hours": 0,
"minutes": 0,
"seconds": 1,
"start_time": "2021-06-20 15:57:46"
}
]
},
{
"name": "site-packages",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:12:21",
"hours": 0,
"minutes": 0,
"seconds": 4,
"start_time": "2021-06-20 15:12:17"
}
]
},
{
"name": "stackoverflow.com",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:12:31",
"hours": 0,
"minutes": 0,
"seconds": 1,
"start_time": "2021-06-20 15:12:30"
}
]
},
{
"name": "AutoTimer \u2013 main.py",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:56:14",
"hours": 0,
"minutes": 0,
"seconds": 8,
"start_time": "2021-06-20 15:56:06"
},
{
"days": 0,
"end_time": "2021-06-20 15:56:25",
"hours": 0,
"minutes": 0,
"seconds": 1,
"start_time": "2021-06-20 15:56:23"
},
{
"days": 0,
"end_time": "2021-06-20 15:56:38",
"hours": 0,
"minutes": 0,
"seconds": 6,
"start_time": "2021-06-20 15:56:32"
}
]
},
{
"name": "AutoTimer",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:56:23",
"hours": 0,
"minutes": 0,
"seconds": 8,
"start_time": "2021-06-20 15:56:15"
},
{
"days": 0,
"end_time": "2021-06-20 15:56:56",
"hours": 0,
"minutes": 0,
"seconds": 7,
"start_time": "2021-06-20 15:56:49"
}
]
},
{
"name": "AutoTimer \u2013 activity.py",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:56:49",
"hours": 0,
"minutes": 0,
"seconds": 11,
"start_time": "2021-06-20 15:56:38"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:00",
"hours": 0,
"minutes": 0,
"seconds": 4,
"start_time": "2021-06-20 15:56:56"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:46",
"hours": 0,
"minutes": 0,
"seconds": 5,
"start_time": "2021-06-20 15:57:41"
}
]
},
{
"name": "\u641c\u7d22",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:57:03",
"hours": 0,
"minutes": 0,
"seconds": 3,
"start_time": "2021-06-20 15:57:00"
}
]
},
{
"name": "\u767b\u5f55",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:57:24",
"hours": 0,
"minutes": 0,
"seconds": 18,
"start_time": "2021-06-20 15:57:06"
}
]
},
{
"name": "\u5fae\u4fe1",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:57:26",
"hours": 0,
"minutes": 0,
"seconds": 2,
"start_time": "2021-06-20 15:57:24"
},
{
"days": 0,
"end_time": "2021-06-20 15:57:41",
"hours": 0,
"minutes": 0,
"seconds": 12,
"start_time": "2021-06-20 15:57:29"
}
]
},
{
"name": "\u7f51\u6613\u6709\u9053\u8bcd\u5178",
"time_entries": [
{
"days": 0,
"end_time": "2021-06-20 15:57:55",
"hours": 0,
"minutes": 0,
"seconds": 8,
"start_time": "2021-06-20 15:57:47"
}
]
}
]
}
Loading