Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 03, 2015, 01:51:57 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Public PC Timer  (Read 9383 times)

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
IDEA: Public PC Timer
« 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 »

togikun

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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?

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Idea - Public Pc Timer
« 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]
« Last Edit: November 23, 2007, 07:06:40 AM by jgpaiva »

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Idea - Public Pc Timer
« 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 ;) ) And autohotkey doesn't have any way to distinguish from user processes and system processes :(

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

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Idea - Public Pc Timer
« 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.

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: IDEA: Public PC Timer
« 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.

belkira

  • Member
  • Joined in 2006
  • **
  • Posts: 52
    • View Profile
    • Donate to Member
Re: IDEA: Public PC Timer
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Public PC Timer
« 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.

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: IDEA: Public PC Timer
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Public PC Timer
« Reply #14 on: November 21, 2007, 10:34:13 AM »
You'd like to have the timer window always on top?

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: IDEA: Public PC Timer
« Reply #15 on: November 21, 2007, 10:48:44 AM »
Yes always on top would be better.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Public PC Timer
« Reply #16 on: November 23, 2007, 07:07:02 AM »
Done. Check the above post for the download ;)

thankusan

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: IDEA: Public PC Timer
« Reply #17 on: November 23, 2007, 11:39:50 AM »
Sorry...Could not find the file for download  :(

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Public PC Timer
« Reply #18 on: November 23, 2007, 06:36:41 PM »
Sorry, i wasn't explicit. I edited my last post.
Check here ;)