Jump to content

Alfred QR Code Workflow


Recommended Posts

This workflow can generate QR code . Based on python-qrcode.

 

 

Install Python library:

  1. Install the image library pillow : sudo pip install pillow
  2. Install python-qrcode : sudo easy_install qrcode

Usage:

  1. Type qr text;
  2. Define a hotkey, select some text, press the hotkey;
  3. Type qrfolder to open the QR code image folder. The image's name is created by your time and content's md5 value;

 

Output:

 

The QRCode image your generate will be open with Preview application.

 demo.png

 

The source code is also available on github, you can download the workflow from here

Edited by HilenLai
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...