At a Glance
[Ed. note: This week, Glenn Fleishman takes a Mac Gems look at two utilities for automatically configuring your Mac’s settings based on its physical location. Earlier this week, he covered NetworkLocation; today he looks at MarcoPolo.-DF]
Moving between work (and play) locations often involves changing various system settings: wireless networks, printers, and more. MarcoPolo—named for the kids’ call-and-response game of finding other people—susses out your location in order to change dozens of aspects of what your computer is doing or showing. As with NetworkLocation, the goal here is to automate the process of switching key configuration options—no more hunting around in ten different preferences windows each time you move between, say, your office and a favorite coffee shop.
To perform this magic, MarcoPolo constantly examines various sources of data about your computer; you set rules based on these sources, assigning a degree of confidence to each rule. MarcoPolo then uses the data and rules to figure out when you’ve changed locations and, thus, when to switch between groups of settings. (Combining rules with levels of confidence gives MarcoPolo some flexibility in recognizing that you’ve moved from one place to another.)
To configure MarcoPolo, you create and name your contexts (your physical locations), choose evidence sources (the things the program should monitor), define rules (triggers that engage actions), and set up actions (the behaviors or settings to change).
Options for evidence sources include straightforward criteria such as the time and whether a laptop is operating off AC or battery power; parameters such as the USB identifiers for connected devices, a display’s model number, and paired Bluetooth devices; very specific items, such as the rather-technical Bonjour names for services on the local network; and even ambient light (measured using the sensor present on some Apple laptops).
For example, you could have MarcoPolo monitor your power source, and when on battery power, automatically switch to a context that mutes audio, turns off Bluetooth, and initiates a VPN connection. Actions can typically be set both when “arriving at” a location and when “leaving” it (in the latter case, to restore settings to a previous state).
As with NetworkLocation, you can also use MarcoPolo to quickly change multiple settings on a machine that stays put. For example, if MarcoPolo sees that it’s past 8am on a weekday and my computer’s audio isn’t muted, it can automatically switch to my “Office Morning” context, which sets iChat status to Drinking Coffee and uses AppleScript to check for new e-mail and launch the programs I commonly use for work.
On the other hand, MarcoPolo isn’t as obvious to configure as it could be. For example, the names the program uses are often jargony—one action is called Add DesktopBackground Action—when they could easily be converted to layperson terms (say, Change the Desktop Background). It also has a number of minor limitations; for example, only the currently connected wireless network is listed as an evidence source unless you check an option in the Advanced pane to continuously scan for Wi-Fi networks—an option that shows all nearby networks but degrades performance. (And on one of my test Macs, even with this option checked only the connected network was displayed.)
Also, actions are displayed in a list but they aren’t grouped into Contexts. Since you can rearrange the list by dragging actions up and down, at times it’s not entirely clearn what, precisely, will happen when changing contexts. But MarcoPolo’s biggest weakness is in not allowing a Wi-Fi network’s name to be used as a criterion; you can specify a wireless access point only by its unique number (its BSSID, incorrectly noted in the program’s interface as its MAC address) or the network name (SSID). Taken together, these limitations make MarcoPolo more appropriate for those who find NetworkLocation too limiting in what criteria can be used to determine your location.
(According to the developer, version 3 of MacroPolo, due in a few months, will offer a “complete overhaul” of the program.)