ScanCode can trigger scripts from barcodes. You select your camera, select the script, and scan. By writing your own scripts and workflows, you can make them act as a starting point of any barcode-related automation. ScanCode uses the libraries that come with macOS to decode QR and barcodes.