Is this possible?

Geeky1Geeky1 University of the Pacific (Stockton, CA, USA)
edited March 2004 in Folding@Home
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?

Comments

  • a2jfreaka2jfreak Houston, TX Member
    edited March 2004
    Possible? Yes.
    Does it yet exist? Probably in a program-agnostic form, not F@H-specific.
  • mmonninmmonnin Centreville, VA
    edited March 2004
    Try a scheduled task.
  • shwaipshwaip bluffin' with my muffin Icrontian
    edited March 2004
    It doesn't work on my laptop...I just stop it when i run on batteries
  • edcentricedcentric near Milwaukee, Wisconsin Icrontian
    edited March 2004
    I can't get it to work on my Toshiba, I tried building a profile that would suspend FAH when I went to battery. I guess I need to rtfm and try again.
  • GobblesGobbles Ventura California
    edited March 2004
    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 }

    Gobbles
  • shwaipshwaip bluffin' with my muffin Icrontian
    edited March 2004
    The real advantage of making it a sched. task would be it stops if you unplug the laptop, which it does not.
  • a2jfreaka2jfreak Houston, TX Member
    edited March 2004
    VB sucks. It uses "if/then/endIf" not if/{/} :)
    Also, inequality checks are <> IIRC, not !=.

    I prefer !=, (since NOT EQUAL makes more sense to me than LESS THAN GREATER THAN) :)
    Gobbles wrote:
    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 }

    Gobbles
  • t1rhinot1rhino Toronto
    edited March 2004
    Are you running the Graphical or console or console as a service?
  • Geeky1Geeky1 University of the Pacific (Stockton, CA, USA)
    edited March 2004
    Right now, it's the GUI version.
  • primesuspectprimesuspect Beepin n' Boopin Detroit, MI Icrontian
    edited March 2004
    The guy who wrote this program would be a hero to the mobile folding community....
  • t1rhinot1rhino Toronto
    edited March 2004
    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.
Sign In or Register to comment.