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.
Using it with OS X contacts
The workflow offers two different ways to dial addresses retrieved from OS X’ contacts store with Alfred:
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):
it offers a
callkeyword that will return phone numbers for contacts matching the query, right in the Alfred result window:
callreturns the first found of the home, work and mobile phone numbers for contacts whose name or company name matches the query. If you want to specifically target home, work or mobile numbers,
callmwill do your bidding.
Note the search is case sensitive if your query starts with an upper case letter, case agnostic if not (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.
- 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].
Credits and License
Inspired by the PushDialer workflow by Florian Pellet.
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.
- fork the repo
- commit you changes
- make sure you haven’t broken anything (better: write some tests!)
- submit a pull request