Jump to content

abyth

Member
  • Posts

    13
  • Joined

  • Last visited

Reputation Activity

  1. Like
    abyth got a reaction from samispade in Google Maps Route Workflow   
    Google Maps Route WorkflowThis 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 address book 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 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 map vendor using route-pref.
    Download
    You can either download the workflow from Packal or have a look on the GitHub repository
    http://packal.org/workflow/google-maps-routes https://github.com/abyth/google-maps-route-workflow  
    Version
    This is a new version of the "route to contact or address" workflow which can be found here in the forum. I decided to create another topic and a new Packal file, because the new features do not fit to the old name. You can find the version changes either on the Packal page, or in the GitHub commits
  2. Like
    abyth got a reaction from DJay in Route to contact or address from current position   
    Route to contact or location
     
    This workflow calculates the route from the current location to a contact from your address book, or a specified location with Google Maps. The scripts are written in python and use the pre-installed objective-c bridge pyobjc to search the address book 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, 10.9.0 and 10.9.1, but perhaps older versions are also working (feedback?).
     
    Usage:
    Simply type "route" followed by the first or last name of a contact and choose the right one from the list. You can also just type an address to which you want the route to be calculated.
     
    Download:
    You can download the workflow from Packal
    https://github.com/abyth/alfred-route-contact-workflow  
    Feel free to submit error reports or feature requests 
     
    Important!: After implementing new features, the workflow title was sufficient anymore. You can find the new version here in the forum
     
     
    History
    1.1Fixed index bugs regarding multiple addresses per contact 1.0Initial release
  3. Like
    abyth got a reaction from Puck in Route to contact or address from current position   
    Hi Puck,
     
    there was a small error with indices. Now it should display multiple addresses per person with the corresponding identifier e.g. work or home
     
    Greetings
×
×
  • Create New...