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

DonationCoder.com Software > Coding Snacks

Display Power schedule

<< < (2/2)

techidave:
I copied Lanux's code, saved as .ahk and then d/l autohotkey and converted it to exe.  I then double clicked the exe and it puts an icon down in the tray by the clock.

But how do I set the options or where do I go to check them?

lanux128:
I copied Lanux's code, saved as .ahk and then d/l autohotkey and converted it to exe.  I then double clicked the exe and it puts an icon down in the tray by the clock.

But how do I set the options or where do I go to check them?-techidave (July 19, 2008, 03:07 PM)
--- End quote ---

it's Skrommel's code, not mine. :) i haven't tested it yet but a glance at the code shows that the program will turn the monitor off after a certain amount of idle time, based on the current time. i.e.
1. Between 9.01am-5pm, monitor will be turned off after 5mins of inactivity.
2. Between 5.01pm-9am, monitor will be turned off after 30mins of inactivity.

you can request for more flexibility, hopefully Skrommel will find the time. :)

tomos:
I copied Lanux's code, saved as .ahk and then d/l autohotkey and converted it to exe.  I then double clicked the exe and it puts an icon down in the tray by the clock.

But how do I set the options or where do I go to check them?
-techidave (July 19, 2008, 03:07 PM)
--- End quote ---

so you need to change the code before making an exe of it - or
you can also simply save code as *.ahk file in the scripts folder in AHK programme folder, then just start file to run it - advantage being you can edit it any time :)

  If (A_TimeIdlePhysical>5*60000 And now<090000 Or now>=170000 And off=0)
    Gosub,OFF
  Else
  If (A_TimeIdlePhysical>30*60000 And now>=090000 And now<170000 And off=0)
    Gosub,OFFso, you change the 5 or 30 or the times shown (I reckon anyways)

skrommel:
 :) I've added an ini-file to the script above.

Skrommel

neil101:
Help please.

Your MonitorOff program is the answer to my prayers ever since my energy saving timing went south. However, your prog curls up its toes when the time is outside the start and end times the prog seems to enter a endless loop. When I move the mouse the monitor comes up for about 1 second or two before going back to sleep. Inside the start end times the prog works great. The idleout time is presently set at 10, but it appears that it has no effect on the problem.

Your thoughts on this Skrommel?

Navigation

[0] Message Index

[*] Previous page

Go to full version