Apple Script to turn off Carbonite and Dropbox when on battery

Discussion in 'MacBook Pro' started by goombamd, Mar 2, 2011.

  1. goombamd macrumors member

    Joined:
    Apr 18, 2010
    #1
    Is there a way to automatically shut down Carbonite and Dropbox when I unplug my mbp?

    e.g. when on battery power, automatically pause carbonite... and quit dropbox.

    I've found these significantly decrease my battery life.

    Relatively new to making macros...

    Thanks
     
  2. pendolino macrumors member

    pendolino

    Joined:
    Feb 13, 2007
    #2
    i would have to agree with this statement regarding dropbox. have not used carbonite but i know what you mean with background apps often sucking power unnecessarily.

    i would be very interested in having these switch off when running on battery.
     
  3. MoonshineSG, Sep 15, 2011
    Last edited: Sep 17, 2011

    MoonshineSG macrumors member

    Joined:
    Aug 26, 2011
    #3
    I've used MarcoPolo for similar "context aware" settings... Although it has not been updated in a while, maybe you can give it a try... It's free anyway... (http://www.symonds.id.au/marcopolo/)
     
  4. MoonshineSG macrumors member

    Joined:
    Aug 26, 2011
    #4
    I just tried it under Lion and it hangs... I guess we need smith new....

    ----------

    A bit more research revealed that MarcoPolo has been forked and development continues under a new name ControlPlane. http://controlplane.dustinrue.com/

    Runs ok under Lion and seams to have same functionality plus more...
     
  5. ruedu macrumors newbie

    Joined:
    Jun 10, 2009
    #5
    ControlPlane can handle this at least for Dropbox. Simply create a QuitApplication action when you arrive at the appropriate context. As for Carbonite, I don't know anything about that but if it can be controlled using an AppleScript or even a shell script you can control that as well.
     
  6. sloan47 macrumors member

    Joined:
    Aug 3, 2011
    #6
    I use Marco Polo to automatically start/quit Dropbox based on my AC status. I also use it to turn off my bluetooth when I'm on battery. Amazing tool.
     

Share This Page