Click to See Complete Forum and Search --> : auto switch off after reset solved


markdeppe
11-25-2002, 06:19 PM
Solution to the netbook auto switch off issue I posted on where after a soft reset it always returned to the default 30mins and could not find a way of automatically setting it to my choice of a few minutes. Kindly Robin of the great program reset plus has sorted this for me by the following. Great support of a freeware program, Thanks Robin :-) he also helped with other problems caused by my ignorance of programming. Amazing 6 small lines solves it so easily, I am tempted to get a book and learn some programming, just short of hours in the day :-)

Add this little opo to the startup tab of alarmplus freeware:

SwicthOff.opo startup script. Just add this
line:
open file:"path_to_file\SwitchOff.opo"


enter in OPL then click translate, put OPO somewhere like C:\system\opo

enter details of Progam below in opl program and click translate then store it in an appropriate directory as suggested above. change Kswitch to what you want I have it here as 5mins or 360 sec:

----------------------------------------

include "System.oxh"

rem switch off interval in seconds
const KSwitchOffInterval& = 360

PROC Main:
SetAutoSwitchOffTime:(KSwitchOffInterval&)
ENDP



--------------------------------