AutoHotkey Community

It is currently May 27th, 2012, 10:01 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Boredom Counter
PostPosted: February 6th, 2009, 11:04 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
I got bored, as I always am. This idea came to me when I was in an IRC.

Boredom Counter
Desc: A counter that keeps track of how long you are bored.
Features: GUI, Minimize to tray, Show, start, pause, Logging.
Misc: Starts out minimized, doesn't use a taskbar icon, Creates a log in the %scriptdir% when the app exits.

Download

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 11:28 pm 
Offline

Joined: February 10th, 2008, 5:46 pm
Posts: 8
What's your record?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 11:29 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
haven't used it for a long time.

Code:
Friday February 6, 2009:     0H  55M  14S
Friday February 6, 2009:     1H  32M  43S
Saturday February 7, 2009:     0H  25M  44S
Saturday February 7, 2009:     6H  25M  4S
Sunday February 8, 2009:     0H  2M  35S
Sunday February 8, 2009:     2H  4M  39S
Sunday February 8, 2009:     1H  8M  7S
Sunday February 8, 2009:     0H  0M  7S
Monday February 9, 2009:     4H  11M  59S

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2009, 5:33 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
This could be a good example on how to make a counter.

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 10:47 pm 
Offline

Joined: December 31st, 2009, 4:57 pm
Posts: 20
What is the code that makes it start minimized? I need it to Run "always on top" and visible.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 11:29 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Code:
Gui, Add, Text, x6 y8 w100 h20 , Time Bored:
Gui, Add, Button, x6 y58 w100 h20 +Default vButton ginc, Start
Gui, Add, Edit, x6 y28 w100 h20 +ReadOnly +Number vdisp, %h%H%a_Space% %m%M%a_Space% %s%S
;Gui, Show, x6 y480, Boredom Counter <~~ remove comment
Gui, +AlwaysOnTop <~~ add this line
Gosub, start
Return

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 4th, 2010, 5:36 pm 
Offline

Joined: December 31st, 2009, 4:57 pm
Posts: 20
Awsome. works great. This might be an impossible task, but is it possible to time how long a certian mapped drive is in active status? I am very new to programming, but this would be a great tool for us. It would have to be able to do a mapped drive as well as sub folders. Maybe just pause when that window loses focus? Would that be WinWaitActive? Thanks in advance.

maybe something like:

IfWinActive, G:\ OR F:\
{
oo=1
}
IfWinNotActive, G:\ OR F:\
{
oo=0
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2010, 8:57 am 
Offline

Joined: November 29th, 2009, 7:53 am
Posts: 46
Location: Queensland
SO how does it recognise boredom?
or is it just taking a record of how much you are on the computer


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: sks and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group