Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e19200241d
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (40 sloc) 4.077 kb

Dial with PushDialer workflow for Alfred 2

An Alfred 2 workflow making it easy to dial phone numbers from OS X contacts, text selected in any OS X application, or the Alfred prompt with PushDialer. Note you need the Alfred Powerpack to enable workflows.

Dial with PushDialer workflow overview

Usage

Using it with OS X contacts

The workflow offers two different ways to dial addresses retrieved from OS X’ contacts store with Alfred:

  1. it defines a custom contacts action which will dial a number when actioned from Alfred’s contacts viewer. For this to work, assign the “Dial” action to phone numbers in Alfred’s Contacts settings (found in Preferences » Features » Contacts » Contacts):

    Alfred Contacts custom action settings

  2. it offers a call keyword that will return phone numbers for contacts matching the query, right in the Alfred result window:

    Alfred call keyword usage example

    call returns the first found of the mobile, home, work or main phone numbers, or pager number, for contacts whose name, nickname or company name matches the query. If you want to specifically target home, work or mobile numbers, call’s brethren callh, callw and callm will do your bidding.

    Note the search is incremental: every query word is matched to the result set individually, which allows you to refine the results using only partial queries:

    Alfred call keyword usage example

    Query word matching is case agnostic for words in all lower case, case sensitive otherwise (i.e. “Cool” finds “Liquid Coolants Ltd.”, but not “Mancoolie”, while “cool” finds both).

Using it with text selected in OS X applications

There are two hotkeys defined to get selected text into the workflow: the first will run the selected text straight through the dial routine, the other will put it into the Alfred prompt, ready to execute. Note Alfred strips the keyboard shortcuts on workflow installation, so you will have to set your own Preferences » Workflows » Dial with PushDialer.

Using it from the Alfred prompt

The workflow defines a dial keyword: any query that follows it is passed to the dial routine.

Alfred dial keyword usage example

Updating

Dial with PushDialer supports Alleyoop for automated updates. Install Alleyoop and do oop.

Known bugs

  1. If you miss mobile numbers in feedback, make sure the phone label in the Contacts application is not set to “iPhone” – that label is not recognized by the utility used to query the contacts store [Issue #1].
  2. Others maybe, probably. Check the Issues section. Create a new issue if you think you have found one that is not reported there.

Credits and License

Inspired by the PushDialer workflow by Florian Pellet.

The call keyword family relies on the contacts utility by Shane Celis to provide its results. Contacts is licensed under the GPL version 2. As it is distributed with the workflow, this means the Dial with PushDialer workflow is also distributed under the terms of the General Public License version 2.

Contributing

  1. fork the repo (bonus points for creating a feature branch)
  2. commit you changes
  3. make sure you haven’t broken anything (even better: write some tests!)
  4. submit a pull request
Jump to Line
Something went wrong with that request. Please try again.