Python, Tkinder or similar, Mac OS.
A timer respectively a cycle visualization is to be created.
A narrow bar (approx. 20px) is to be created at the edge of the screen over the total height or total width (customizable in the script). This bar shall grow depending on a time. When the target time is reached, the growth starts again. The target time is adjustable in the script. 100% of the target time corresponds to 100% of the screen width or 100% of the screen height). The bar grows by one step per second.
Example: target time = 15sec -> after 1sec bar = 1/15 of screen width, 2sec bar = 2/15 of BS width ... 15sec = 15/15 of the BS width. The window in which the bar grows should be permanently in the foreground (no window-objects should be displayed but only the bar graphic)! Ideally, the bar window should be displayed even if other program-windows are maximized (but I'm not sure if this is feasible with Python).
The bar reacts to a control character for example "^K". When the control character is sent from the keyboard, this impulse shall be visualized conspicuously (e.g. bar changes color in a flash) as well as the bar growth shall be stopped immediately and a new bar shall start growing. The time that this bar could have grown until the target time is reached is saved. This time is "won time". Example: The control character is sent at 12/15 seconds, then the "gained time" is 3 seconds. If the bar reaches the target time without a control character being sent, the time - i.e. 100% of the target time - is saved as "lost time". In addition, the result of each run is saved with a time stamp in a CSV file.
The bar cycle should be pausable. Possibly by two small clickable areas on the bar. There are two pause types. P1 = normal pause, P2 = other pause. If P1 or P2 is initiated, the bar is stopped and the elapsed cycle time is added to the "lost time". The time in which P1 or P2 is active is also stored in the CVS file (counted separately for P1 and P2). If P1 or P2 is clicked again, the respective pause ends and a new bar cycle begins.
Different numerical values are to be displayed on the bar:
1. program run time in hours and minutes,
2. target time for a bar cycle in seconds,
3. current second of the run or cycle,
4. number of bar cycles with "won time",
5. number of bar cycles with "lost time",
6. total time of "gained time" in minutes and seconds,
7. total time of "lost time" in minutes and seconds.
8. running time of P1 in minutes and seconds,
9. running time of P2 in minutes and seconds,
10. total time of P1 in minutes and seconds,
11. total time of P2 in minutes and seconds,
12. sum of "lost" and "gained" time in minutes and seconds
Hi Thomas, this is my bid, ready to start today, planning to create a prototype by tomorrow. Regards, Leo
Bu iş için 3 freelancer ortalamada €170 teklif veriyor
Hi Thomas, I'm expert in Python/Tkinder and PyQt and all Python-GUI projects. I can complete your timer bar in a few days with any feature you would like to have. Best regards, Osama.