Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MarceFX

macrumors member
Original poster
Sep 23, 2006
45
1
Graná (Spain)
Hi,

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!
 
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:

Code:
/absolute/path/to/automator/script.app

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.