Does a program exist that will let me have F@H start automatically when my laptop is on AC power, but which will close it when it switches to battery power?
get some one to write one up in VB real quick. I should not be that hard. You are onl y checking to see if battery is in use, if it is dont start if not start.
if (battery!=1) { run folding@home }
else { return }
get some one to write one up in VB real quick. I should not be that hard. You are onl y checking to see if battery is in use, if it is dont start if not start.
if (battery!=1) { run folding@home }
else { return }
It is easy to do if you are running the console version by simply sending a Ctrl-C to the console window. If you kill the GUI version using a kill process command, it does not kill the core...
As well, the GUI version is that it interprets Alt-F4 as minimize instead of close. If you can determine what (if any) keyboard commands will close the GUI version, then let me know.
Comments
Does it yet exist? Probably in a program-agnostic form, not F@H-specific.
if (battery!=1) { run folding@home }
else { return }
Gobbles
Also, inequality checks are <> IIRC, not !=.
I prefer !=, (since NOT EQUAL makes more sense to me than LESS THAN GREATER THAN)
As well, the GUI version is that it interprets Alt-F4 as minimize instead of close. If you can determine what (if any) keyboard commands will close the GUI version, then let me know.