Google Maps Routes

An Alfred Workflow


Short Description

This workflow calculates the route from the current location, a contact from your address book or a specified location to either the current location, a contact from your address book or a specified location.

Last Updated

10 Feb 2014

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
No Yes Yes No No
 

Version

1.6
 

Bundle ID

strack.google.routes
 

Author

Google Maps Routes

This workflow calculates the route from the current location, a contact from your address book or a specified location to either the current location, a contact from your address book or a specified location. The scripts are written in python and use the pre-installed objective-c bridge pyobjc to search the AddressBook and determine the current location with CoreLocation. Because of this, OS X will display messages that ask for the permission to use CoreLocation and AddressBook.

Requirements:

The scripts use the shipped python version and the nice alfred module by nikipore (included). Because of the usage of OS X APIs there are requirements for the OS X version. I developed and tested the workflow on 10.8.4 and 10.9.1, but perhaps older versions are also working (feedback?). If you want to use Apple as a map vendor and open the route in Maps.app, you need OS X 10.9

Usage:

Simply type "route" followed by the first or last name of a contact or a custom location and choose the right one from the list. You can also specify two addresses in the same manner to calculate a route between the two. If your custom address or the contact name include spaces, you'll need to put quotes around it. You can configure the prefered vendor using route-pref