Skip to content

techouse/alfred-convert

Repository files navigation

Alfred Convert Workflow

GitHub release GitHub All Releases GitHub

Convert between different units in Alfred.

Heavily inspired by deanishe/alfred-convert 😊

demo

Installation

  1. Download the latest version
  2. Install the workflow by double-clicking the .alfredworkflow file
  3. You can add the workflow to a category, then click "Import" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.

Usage

  • conv <quantity> <from unit> <to unit> - Perform a conversion
    • When performing a monetary conversion pressing ⌘Y or return (↵) will open the currency-pair chart on Xe.com.
      • When pressing option+return (⌥↵) you will get the inverse currency conversion, i.e. 12 USD to EUR becomes 12 EUR to USD.
      • When pressing cmd+return (⌘↵) you will copy the converted value to your clipboard.
    • When performing a physical unit conversion pressing ⌘Y or return (↵) will open up detailed the conversion explanation on WolframAlpha.com.
  • conv money - View a list of all the supported currencies
    • When pressing ⌘Y or return (↵) on a certain currency you will be directed to the chart with the home currency on Xe.com.
      • When pressing option+return (⌥↵) you will get the inverse currency conversion, i.e. 1 AUD = 0.558 GBP becomes 1 GBP = 1.792 AUD.
      • When pressing cmd+return (⌘↵) you will copy the equivalent in the home currency to your clipboard.
  • conv units - View a list of all the supported physical units
    • When selecting a certain unit and pressing return (↵) that unit's symbol will get copied to the clipboard.

Default currency

In order to set a default currency, you can set it in the Workflow Configuration.

default_currency

Valid values are the ISO 4217 currency codes: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, ZAR.

Notes