Jump to content


Photo

Windows Shutdown Timer v1.1


  • Please log in to reply
15 replies to this topic

#1 em02044

em02044
  • Members
  • 19 posts

Posted 23 February 2011 - 12:20 AM

Windows Shutdown Timer v1.1

This script allows you to set a a timer between 1 minute to 24 hours so the computer can automatically Shutdown, Restart, Log off, Lock User, Change User, Hibernate or Sleep. I have made it with a simple and clean interface. Any suggestion to improvements are welcome.

DOWNLOAD

How to use:
Posted Image

Windows Shutdown Timer Change Log:
v1.1 (26/02/2011)
- Added tooltips
- Timer information showed instantaneous
- English Writing revised
- Modified Menu Tray
- New icons

#2 codybear

codybear
  • Members
  • 589 posts

Posted 23 February 2011 - 04:54 AM

Very nice. I haven't taken a look at the code yet, but the screenshot you provided with the GUI looks very nice.

Will update this post if I have any problems or suggestions.

#3 DethKlok

DethKlok
  • Members
  • 322 posts

Posted 24 February 2011 - 09:27 AM

The Images Don't Show Up In Win7 64Bit. They Still Can Be Clicked, But It Show's \Sy For All The Images

#4 sumon

sumon
  • Moderators
  • 1307 posts

Posted 24 February 2011 - 12:58 PM

The Images Don't Show Up In Win7 64Bit. They Still Can Be Clicked, But It Show's \Sy For All The Images


They show up for me, but with some pixels in the corners. Might be that way for everyone though.

VERY nice script, and with an elegant GUI.

Suggestions:

Tooltips for the buttons to click (in the top right corner). What is the third button from the right? Minimize? Clarify.

A better icon, both on the GUI and the tray - it is confusing as it looks like a known icon.

How do you "license" it, may I contribute and distribute? Think it's gonna be useful for the "general computer user".

#5 shajul

shajul
  • Members
  • 571 posts

Posted 24 February 2011 - 05:38 PM

Very Nice!!

Just a small comment.

---------------------------
Windows Shutdown Timer.ahk
---------------------------
Are you sure you want to exit?
Timmer will be deleted!
---------------------------
Yes No
---------------------------

Is that Timer?

#6 Pip

Pip
  • Guests

Posted 25 February 2011 - 12:53 AM

I like the script.

Could you make the volume reduce before shutting down (I sometimes have music playing - but shutdown wakes me up)?

What would be really great would be if the volume reduced but when you start the pc again, the volume was normal, like this freeware does:
http://www.immortals.../goodnight.html

#7 em02044

em02044
  • Members
  • 19 posts

Posted 25 February 2011 - 11:16 AM

Ok, I have read the suggestions and will implement them. I should only upload the newer version by the end of the day.

Timmer will be deleted!

Is that Timer?

Yes it is. FIXED

Tooltips for the buttons to click (in the top right corner).

DONE

A better icon, both on the GUI and the tray

DOING

Could you make the volume reduce before shutting down (I sometimes have music playing - but shutdown wakes me up)?

Probably if I have enough spare time I may try to include this function in a future version.

#8 capitalH

capitalH
  • Members
  • 64 posts

Posted 25 February 2011 - 12:27 PM

Thank you!

Really

I almost always mess up the command line shutdown function, causing immediate shut down, in the place of the 10 minutes (or whatever) that I wanted (because I am lazy and do not read the help every time I use it).

#9 DethKlok

DethKlok
  • Members
  • 322 posts

Posted 25 February 2011 - 12:50 PM

How Can I Fix My Icons?
Posted Image

#10 capitalH

capitalH
  • Members
  • 64 posts

Posted 25 February 2011 - 01:02 PM

The Images Don't Show Up In Win7 64Bit. They Still Can Be Clicked, But It Show's \Sy For All The Images


I have a similar problem in Windows XP.

But mine shows c:\

But I realised it is because imageres.dll does not exist on my computer

#11 em02044

em02044
  • Members
  • 19 posts

Posted 25 February 2011 - 02:02 PM

The icons are from imageres.dll. Im working in a new version wich will have its own icons, just wait for tonight!

#12 DethKlok

DethKlok
  • Members
  • 322 posts

Posted 25 February 2011 - 02:18 PM

Cool Thank You. Awesome Program BTW.

#13 Gerakon

Gerakon
  • Members
  • 11 posts

Posted 25 February 2011 - 06:53 PM

Hi em02044,
I made something similar a while back, though I use it for shutting the computer down when it has been inactive or not playing a movie for X number of minutes, then I don't need to remember to setup the shutdown timer. Yours actually looks much nicer than mine. Just thought you might be interested in seeing what I did, and if you decided to add a feature similar to my "shutdown if idle for x", I would probably switch to yours.

I had also planned on adding a feature to allow listing certain applications that would cause the script to abort the shutdown. For example if you had winword.exe running, you might not want the script to force a shutdown because you could lose an unsaved Microsoft Word document, or my girlfriend leaves Sims3 running and doesn't want to lose her game.

I look forward to your next versions.

Here's a link to mine if you have any interest in using parts of it.

http://www.autohotke...topic63227.html

Like sumon, I'm also mildly interested in what your thoughts are as far as licensing. I run a computer shop and may have a small number of clients that might find a compiled version of interest (figuring out how to run scripts is more than most of them would want to do).

You are probably familiar with some of them, but if not here are a couple of suggestions. I find the BSD license to be a bit more flexible.

GPL - Use if you want to let others distribute your software, but they must include source

http://www.gnu.org/licenses/gpl.html

BSD - Use if you want to let people use how they wish, but still include your name and copyright info.

http://www.opensourc...bsd-license.php

#14 em02044

em02044
  • Members
  • 19 posts

Posted 27 February 2011 - 02:01 AM

It took me a little more time to finish some details but version 1.1 is ready. Take a look everybody.

#15 DethKlok

DethKlok
  • Members
  • 322 posts

Posted 04 March 2011 - 03:30 AM

I love it, The icon's show up now. Thank you!
And they look great.