Welcome Guest.   Make a donation to an author on the site October 31, 2014, 06:50:21 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Public PC Timer  (Read 8230 times)
thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« on: November 09, 2007, 07:53:19 AM »

On windows startup a countup timer started in a floating window(unclosable). On an idle time of say 5 minutes(option for setting) the timer resets to 00:00:00. and starts countup on pc activation (keyboard or mouse movement). The timer 'on' and 'off' time is logged into a file. An option to hide(not disable) screensaver settings. A password protection would be added to this program to improve security.
« Last Edit: November 17, 2007, 03:28:53 AM by brotherS » Logged
togikun
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #1 on: November 09, 2007, 10:30:24 AM »

What would be the purpose of such a program? To just see how long every single person uses the computer?
Logged
thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #2 on: November 09, 2007, 10:42:53 AM »

The purpose is exactly the same. A desktop blocking screen or screensaver could be added on startup as well as on idle time so one could enter his name which will be further logged into the log file.
Logged
thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #3 on: November 12, 2007, 09:54:42 AM »

To avoid confusion the idea may be shortened, ie; a timer which resets on idle time and starts again on pc activation.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: November 14, 2007, 08:30:08 AM »

Ok, here it is.

Attached to this post, there are 2 versions of the scipt:
A compiled version wich has the 5 minutes of idle time hardcoded, and
The source code, which has the 5 minutes configurable though the variable "timetoReset", in minutes. (fractions can be used)

If you'd like to change the 5 minutes to something else, download and install autohotkey, edit the .ahk file with notepad, and change the 5 to something else.

[edit] added always on top [/edit]

* UsageTimer.ahk (1.02 KB - downloaded 215 times.)
* UsageTimer.exe (199.03 KB - downloaded 209 times.)
« Last Edit: November 23, 2007, 07:06:40 AM by jgpaiva » Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #5 on: November 14, 2007, 11:36:49 AM »

Thanks for the great program.
This is what I have been looking for to use in my cyber cafe. This is simply simple and self explainable. Is it possible to add a log into it ie; timer on 9.30 timer off 9.50 timer on 9.55 timer off 10.30 and so on along with an option to hide screensaver settings.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: November 14, 2007, 02:06:58 PM »

Well.. If you have a cyber cafe, you probably should be looking for some more developed solutions, more adequate to your situation.

Anyways, here are some tips:
If you're running windows XP pro, run "gpedit.msc", and open user configuration -> administrative templates. Then browse those options, i bet you'll find a bunch of interesting stuff for your situation there.

Also check tweakui, it allows you to disable the display settings (and thus the screensaver settings) IIRC.

As for the log... Currently with the code as it is, it's impossible to add. I'll try to add it when i have time.
Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #7 on: November 15, 2007, 09:58:59 AM »

Ofcourse ..There are more developed programs, but all of them are client server based and are more complicated along with its easiness. An exception is only cafecop desktop(freeware) edition, But in this one the manager has to go to each pc to logoff the timer unless the client forgots to do it. Is it possible to add an auto logoff (for timer and not windows) to cafecop. Could you please try this on free time.

I do have another request, ie; is it possible to kill all the running programs when the 'usage timer' resets to 0.There are readily available programs but the same will kill 'usage timer' also along with other programs.

Anyway this 'usage timer' is very helpful to me that I set the screensaver settings to 4 minutes to check wheather there is any presence of user in the system and if it is undisturbed the timer resets on 5 mins. My purpose is not to limit the users but just to show their usage time. Would be better if the timer popup to 'on top' every half hour or one hour.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: November 15, 2007, 02:05:21 PM »

Well... Killing all the processes can't be done, or the computer would shutdown! (there are some processes you can't kill Wink ) And autohotkey doesn't have any way to distinguish from user processes and system processes Sad

But i added the "bring to top every hour" thing.
Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #9 on: November 16, 2007, 09:51:31 AM »

Sorry.. You have mistaken,

I didn't mean all the processes but all the programs or in other words just to close all the open windows. If this is not possible I may substitute the program 'shutter' for the pupose, and it will auto logoff the pc closing the programs. But each program for each need may make a mess.
I also tried simple activity logger so that it will logg the screensaver activity(on and off), which is almost same (with one minute diference) to the 'usagetimer' activity. But it just added one more program for the purpose.
Logged
thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #10 on: November 20, 2007, 07:38:22 AM »

Hello..

I had to face some difficulties when I applied the program. If a second client comes on the pc before 5 minutes the timer does not reset itself. So is it possible to add a reset(not button) to the timer from the server machine. Not pointing to remote desktop, but a command line or something that just restarts the timer.
Logged
belkira
Member
**
Posts: 52



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: November 20, 2007, 10:49:43 AM »

You could just use the screensaver I have attached. It will logoff after x amount of idle time.
After you have it setup just change your settings in gpedit so nobody can edit your screensaver properties.

* winexit.zip (6.21 KB - downloaded 191 times.)
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: November 20, 2007, 02:47:00 PM »

thankusan: if you run the program again, it'll close the running instance and thus restart the counter.
Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #13 on: November 21, 2007, 10:22:51 AM »

Sorry jgpaiva,

Wonder why I coudn,t think of such a simple thing. Thanks a lot. Let me know how to make the window on top.

belkira....  I just don't want to logoff but to close all other active program window except usage timer. But as an alternative I was using logoff method.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: November 21, 2007, 10:34:13 AM »

You'd like to have the timer window always on top?
Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #15 on: November 21, 2007, 10:48:44 AM »

Yes always on top would be better.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: November 23, 2007, 07:07:02 AM »

Done. Check the above post for the download Wink
Logged

thankusan
Participant
*
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #17 on: November 23, 2007, 11:39:50 AM »

Sorry...Could not find the file for download  Sad
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: November 23, 2007, 06:36:41 PM »

Sorry, i wasn't explicit. I edited my last post.
Check here Wink
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.038s | Server load: 0.08 ]