Running actions depending on context?

Discussion in 'Mac Apps and Mac App Store' started by MarceFX, Apr 24, 2015.

  1. MarceFX macrumors member

    Sep 23, 2006
    Graná (Spain)

    I'm looking for an app that easily (no scripting, please) lets me run actions depending on conditions like:

    - If an ethernet cable is plugged in THEN turn off WiFi and run TimeMachine
    - If an external screen is attached THEN turn on Bluetooth and...

    Any suggestions? Thanks!
  2. 0d085d macrumors regular

    Apr 23, 2015
    Assuming what you want is for an action to happen automatically when ethernet is plugged in etc.

    EventScripts is on the App Store and allows you to run actions when certain things happen. The list of supported events isn't enormous though, so you may have to be creative.

    If you create an Automator routine (all drag and drop - no coding!) and save it as an app, then all you'll need is a one line shell script to launch from EventScripts:

    I don't know if it's possible to do anything more specific without either bash, Applescript or Python. From a quick Google, PyMacAdmin looks like a contender for Python based event dispatching.

    The "proper" way to do this (afaik) is to create a daemon. Your script can then run periodically and check if your conditions are true.
  3. Weaselboy Moderator


    Staff Member

    Jan 23, 2005

    Take a look at the app Control Plane.
  4. MarceFX thread starter macrumors member

    Sep 23, 2006
    Graná (Spain)
    Thanks! Both apps look great. I'll give them a try :)

Share This Page