Cuttlefish is an automation engine that connects events to actions without requiring the coding of programs or scripts.
Cuttlefish is a simple tool, which realises reflexes on your computer by executing actions when specific events are triggered. You can configure the tool in such way that cuttlefish can for example change your default printer according to the currently connected wireless network. You can also lock/unlock your computer, when a specific USB device is dis/reconnected.
Source:Cuttlefish
See also: Automate Ubuntu With Cuttlefish by Kevin Quirk