-
Posts
5 -
Joined
-
Last visited
-
Days Won
2
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Torrey
-
-
Say if you’re the author or submitting someone else’s workflow.
I'm the author of this workflow
Share a link to its thread on the Alfred Forum.
Share a link to its main page (e.g. GitHub).
https://github.com/TorreyBetts/Alfred-QRCode
If it has dependencies, say what those are unless they are explicit in the About or README.
N/A
Provide screenshots, unless valid ones are in the About or README.
-
This workflow has been updated to allow QR code creation with a selection hotkey. If either the selection contains nothing or the qrc/qrp keywords don't have a parameter, then the clipboard is used. Thanks @vitor for those ideas to improve the workflow!
- Mindstormer and vitor
- 2
-
14 minutes ago, vitor said:
Welcome to the forums, @Torrey.
I’ve got to say, really well organised Workflow and code! It’s one of those that’s a pleasure to read. I’m considering deprecating my old old Workflow and point people to yours instead.
A few suggestions:- Consider filling the “About this Workflow” section. Down the line, someone will appreciate that the usage information is there, and it makes the Workflow look a bit more put together.
- Instead of requiring an argument, you could make it so if an argument isn’t given, it will use the clipboard contents.
- With a Hotkey Trigger, you could also add a way to make a QR code from selected text.
Looking forward to see what you make next!
Thanks vitor! I followed your first suggestion and filled out the "About this Workflow" section and re-uploaded the release, thanks for that reminder. Your other suggestions are awesome, thanks for sharing those. In the near future, these updates will be made. I come from a development background and have been like a kid in a candy store with Alfred and experimenting with each feature.
-
Summary
All of the QR code generator workflows I've come across use a dependency, such as an external installation, embedded app, or web service. Given that MacOS can create QR codes natively, that's what I did with this workflow.
Usage
I've configured this to use two different keywords, qrc & qrp. The qrc keyword creates a QR code that copied to the clipboard. The other keyword, qrp does the same thing, except at the end it'll open the QR code in Preview to allow saving as an image/pdf.
When using either qrc or qrp without a parameter this workflow will attempt to use text contained on the clipboard. This same flow is followed if you set a hotkey for the selection and nothing is selected.
Download
https://github.com/TorreyBetts/Alfred-QRCode/releases/download/v1.0.3/QR.Code.alfredworkflow
GitHub
Native QRCode Generator
in Share your Workflows
Posted
@vitor thanks for the pull request adding support for universal actions. The source was added to the repository to make any possible future pull requests easier.