/alfred-baseconverter

Alfred workflow that converts numbers between arbitrary bases

Primary LanguagePythonOtherNOASSERTION

====

Alfred Base Converter

====

Convert arbitrary bases(up to base 32) in Alfred 2 and copies them to the clipboard.

Format: {base}x{number} {target base}

Push enter to add the result to the clipboard.

If no base is specified, it will default to decimal. If the source number is decimal, hex will be outputted.

Special prefixes:

  • None or d: decimal
  • 0x : hex/base 16
  • 0 or O: octal/base 8
  • b: binary/base 2

These prefixes work for the both the source base and the target base.

Written by Armand Halbert

Licensed under BSD.