This Applescript reads QR Codes from the screen and processes them via zbar. It extracts the urls and automatically opens them in your standard browser.
The script relies on zbar. You can install it with:
brew install zbar
ZBar can be easily installed with Homebrew:
brew install zbar
To install QR-Reader-Mac:
-
Open the QR-Reader-Mac GitHub project page, select Code and download the project as a ZIP file:
-
Double click the ZIP file to extract it.
-
Double click the workflow you want to install. The following Pop-UP should appear:
-
Confirm by pressing
install
. -
Open System Preferences and add a shortcut to the open_QRCode service under Keyboard > Shortcuts > Services > General:
-
Some apps need a restart before the shortcut is working (e.g. Chrome).
The QRCode2Clipboard.workflow
can be used to extract the content of the QR-Codes into the Clipboard. It can be installed in the same way as the open_QRCode.workflow
.
Every QR-Scan will be safed under the folder ~/Desktop/QRCodeHistory/
.
3.1 Move open_QRCode.workflow
to the ~/Library/Services
folder
3.2 To open ~/Library/Services
, select Finder, press ShiftCommandG, paste ~/Library/Services
and press Enter.