ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

KeyStroke Activated Timer

(1/1)

EvilTony:
Hello,

I am looking for a small app, that is a timer.  I don't need it to do much..  Just activate a timer when I hit a key combination. Then when I hit another combination, it will stop the timer it will add the total to a running count.  I need to have two separate counts going that I could monitor throughout the day.  Maybe if it wasn't too much trouble, that i could set a overall time and it could display each timer's % of the total time used.

I've tried several freeware timers available, they just don't seem to work well and hog too much screen.  If anyone could help me with this I would be very grateful. Thanks.

Tony

lanux128:
try searching in the forums, there have been similar requests before..

• https://www.donationcoder.com/forum/index.php?action=search2;search=timer

jupit402:
 :-\ it is the same with keyloggers software?

skrommel:
 :) Here's something to get you started!

TwelveTimers shows a small status window in the bottom left of your screen, just press F1 through F12 to start and stop timers.

To use it, download and install AutoHotkey from http://www.autohotkey.com. Copy the script into Notepad, save it as TwelveTimers.ahk, and doubleclick the saved file.

Skrommel



--- ---;TwelveTimers.ahk
; Press F1-F12 to start and stop timers.
;Skrommel @ 2008

#NoEnv
#SingleInstance,Force
SetBatchLines,-1
CoordMode,ToolTip,Screen

total:=0
Loop,12
{
  timer%A_Index%:=0
  total%A_Index%:=0
  Hotkey,F%A_Index%,HOTKEY
}
SetTimer,RUNNING,100
Return


HOTKEY:
StringTrimLeft,hotkey,A_ThisHotkey,1
If (running%hotkey%<>"")
{
  total%hotkey%:=total%hotkey%+(A_TickCount-start%hotkey%)/1000
  running%hotkey%:=""
  Return
}
start%hotkey%:=A_TickCount
running%hotkey%:="+ "
Return


RUNNING:
total:=0
status:="KEY`t`%`tTIME`n"
Loop,12
{
  If (running%A_Index%<>"")
    timer%A_Index%:=total%A_Index%+(A_TickCount-start%A_Index%)/1000
  total:=total+timer%A_Index%
}
Loop,12
  status:=status . running%A_Index% "F" A_Index "`t" Round(timer%A_Index%/total*100,0) "%`t" Round(timer%A_Index%,1) "s`n"
ToolTip,% status "TOTAL`t100%`t" Round(total,1) "s",0,% A_ScreenHeight
Return

mouser:
The return of skrommel!!!  :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup:

Navigation

[0] Message Index

Go to full version