bundleid cn.alanhe.qr-reader category Self-Dev connections 17D0B3FC-09CC-4EDF-BA00-CDB6EB563DDD destinationuid 4939D389-798F-459F-AF4A-B63F64D1B110 modifiers 0 modifiersubtext vitoclose 19DF2D89-4A46-428A-B981-663F504B5F3E destinationuid 4939D389-798F-459F-AF4A-B63F64D1B110 modifiers 0 modifiersubtext vitoclose 1AD3E7E2-9E9C-4BDC-8C79-369F26762E87 destinationuid 85849FE1-713B-4913-9D7C-CE9F40A31677 modifiers 0 modifiersubtext vitoclose 1D9AB402-220E-48E3-83F6-3873457CB483 destinationuid F0D382D5-DC42-4DFB-9754-E64DABBFEE70 modifiers 0 modifiersubtext vitoclose 2821208F-D0FF-413E-8B0D-AEEB51D343AD destinationuid E76E0D43-9ED3-41B5-81F5-F4050C4952E5 modifiers 0 modifiersubtext vitoclose 43FA5FDD-33C5-4580-850C-572FA1219020 destinationuid 7F782624-41DE-42C0-9B0A-F88AA619E878 modifiers 0 modifiersubtext vitoclose 4939D389-798F-459F-AF4A-B63F64D1B110 destinationuid 6BC49598-7306-44DA-A7F8-6239C5F03C8C modifiers 0 modifiersubtext vitoclose 498B32F7-777D-4970-B05C-FAEBBC07B17D destinationuid 43FA5FDD-33C5-4580-850C-572FA1219020 modifiers 0 modifiersubtext vitoclose 4E6EDCC5-121B-4DEE-BD30-A376EEE182A5 destinationuid 1D9AB402-220E-48E3-83F6-3873457CB483 modifiers 0 modifiersubtext sourceoutputuid A622AFF9-9BD5-4CB1-A1FF-1B71D5E8290A vitoclose destinationuid EA9B8622-BBCD-4F80-9D87-C2841CBC013D modifiers 0 modifiersubtext vitoclose 6BC49598-7306-44DA-A7F8-6239C5F03C8C destinationuid 1AD3E7E2-9E9C-4BDC-8C79-369F26762E87 modifiers 0 modifiersubtext vitoclose 7F782624-41DE-42C0-9B0A-F88AA619E878 destinationuid 19DF2D89-4A46-428A-B981-663F504B5F3E modifiers 0 modifiersubtext vitoclose 85849FE1-713B-4913-9D7C-CE9F40A31677 destinationuid 4E6EDCC5-121B-4DEE-BD30-A376EEE182A5 modifiers 0 modifiersubtext sourceoutputuid 0F72C2E1-8E95-4502-B72A-7D8BD25A6013 vitoclose destinationuid 396ED28E-3487-4E3C-8E7F-759EABCF9343 modifiers 0 modifiersubtext vitoclose AEFB7290-B340-4751-A973-E44C0161765A destinationuid 19DF2D89-4A46-428A-B981-663F504B5F3E modifiers 0 modifiersubtext vitoclose E76E0D43-9ED3-41B5-81F5-F4050C4952E5 destinationuid 3C1CBCBF-E6E3-44CF-94B8-C25EB36E0C0B modifiers 0 modifiersubtext vitoclose F0D382D5-DC42-4DFB-9754-E64DABBFEE70 destinationuid 6206D6F7-3F76-4DC9-868F-8321C4E306B6 modifiers 0 modifiersubtext vitoclose createdby Alan He description Read QR Code disabled name QR Reader objects config availableviaurlhandler triggerid zbarimg type alfred.workflow.trigger.external uid 17D0B3FC-09CC-4EDF-BA00-CDB6EB563DDD version 1 config externaltriggerid zbarimg passinputasargument passvariables workflowbundleid self type alfred.workflow.output.callexternaltrigger uid 6206D6F7-3F76-4DC9-868F-8321C4E306B6 version 1 config acceptsmulti 0 filetypes +public.image name QR Reader type alfred.workflow.trigger.action uid AEFB7290-B340-4751-A973-E44C0161765A version 1 config concurrently escaping 102 script zbarimg "$1" -q scriptargtype 1 scriptfile type 0 type alfred.workflow.action.script uid 4939D389-798F-459F-AF4A-B63F64D1B110 version 2 config argument {query} passthroughargument variables qrcode_pic_path {query} type alfred.workflow.utility.argument uid 19DF2D89-4A46-428A-B981-663F504B5F3E version 1 config concurrently escaping 102 script newPic="$alfred_workflow_cache/screenshot2.jpg" convert "$qrcode_pic_path" -negate "$newPic" echo -n $newPic scriptargtype 0 scriptfile type 0 type alfred.workflow.action.script uid F0D382D5-DC42-4DFB-9754-E64DABBFEE70 version 2 config argument {query} passthroughargument variables is_reversed true type alfred.workflow.utility.argument uid 1D9AB402-220E-48E3-83F6-3873457CB483 version 1 config concurrently escaping 102 script set workflowCache to (system attribute "alfred_workflow_cache") set cacheFolderPath to POSIX path of workflowCache tell application "System Events" if not (exists folder cacheFolderPath) then do shell script "mkdir " & quoted form of cacheFolderPath end if end tell set the savePath to cacheFolderPath & "/screenshot.png" do shell script "rm -f " & quoted form of savePath do shell script "screencapture -i " & (quoted form of POSIX path of savePath) return savePath scriptargtype 1 scriptfile type 6 type alfred.workflow.action.script uid 43FA5FDD-33C5-4580-850C-572FA1219020 version 2 config argumenttype 2 keyword qr subtext Read QR Code from the screen text QR Reader withspace type alfred.workflow.input.keyword uid 498B32F7-777D-4970-B05C-FAEBBC07B17D version 1 config conditions inputstring {var:is_reversed} matchcasesensitive matchmode 1 matchstring true outputlabel uid A622AFF9-9BD5-4CB1-A1FF-1B71D5E8290A elselabel else hideelse type alfred.workflow.utility.conditional uid 4E6EDCC5-121B-4DEE-BD30-A376EEE182A5 version 1 config type 0 type alfred.workflow.utility.transform uid 7F782624-41DE-42C0-9B0A-F88AA619E878 version 1 config matchmode 0 matchstring QR-Code: replacestring type alfred.workflow.utility.replace uid 6BC49598-7306-44DA-A7F8-6239C5F03C8C version 2 config conditions inputstring matchcasesensitive matchmode 0 matchstring outputlabel uid 0F72C2E1-8E95-4502-B72A-7D8BD25A6013 elselabel else hideelse type alfred.workflow.utility.conditional uid 85849FE1-713B-4913-9D7C-CE9F40A31677 version 1 config type 0 type alfred.workflow.utility.transform uid 1AD3E7E2-9E9C-4BDC-8C79-369F26762E87 version 1 config lastpathcomponent onlyshowifquerypopulated removeextension text title Invalid QR Code type alfred.workflow.output.notification uid EA9B8622-BBCD-4F80-9D87-C2841CBC013D version 1 config acceptsfiles acceptsmulti 0 acceptstext acceptsurls name Create QR Code type alfred.workflow.trigger.universalaction uid 2821208F-D0FF-413E-8B0D-AEEB51D343AD version 1 config concurrently escaping 127 script [[ -d "${alfred_workflow_cache}" ]] || mkdir "${alfred_workflow_cache}" qrencode -o "$alfred_workflow_cache/temp.png" -s 10 -m 2 -l H '{query}' echo -n "$alfred_workflow_cache/temp.png" scriptargtype 0 scriptfile type 0 type alfred.workflow.action.script uid E76E0D43-9ED3-41B5-81F5-F4050C4952E5 version 2 config tasksettings target_path {query} taskuid com.alfredapp.automation.core/files-and-folders/file.quicklook type alfred.workflow.automation.task uid 3C1CBCBF-E6E3-44CF-94B8-C25EB36E0C0B version 1 config argument {query} leftcursor type alfred.workflow.utility.showalfred uid 396ED28E-3487-4E3C-8E7F-759EABCF9343 version 1 readme > Read link from QR Code. Create a QR code based on a URL. ## Usage 1. Invoke the keyword 'qr', drag and drop a screenshot, and it will automatically read link. 2. Select a QR code image file, invoke File Action, and select QR reader to read link. 3. Select URL, invoke Universal Action, and choose `Create QR Code` to generate a QR code. ## Requirement 1. `brew install zbar` 2. `brew install imagemagick` 3. Alfred has permission of Screen Recording. 4. `brew install qrencode` *Create QR Code need* uidata 17D0B3FC-09CC-4EDF-BA00-CDB6EB563DDD xpos 550 ypos 35 19DF2D89-4A46-428A-B981-663F504B5F3E xpos 535 ypos 230 1AD3E7E2-9E9C-4BDC-8C79-369F26762E87 xpos 800 ypos 510 1D9AB402-220E-48E3-83F6-3873457CB483 note save xpos 1300 ypos 410 2821208F-D0FF-413E-8B0D-AEEB51D343AD xpos 50 ypos 635 396ED28E-3487-4E3C-8E7F-759EABCF9343 xpos 1075 ypos 725 3C1CBCBF-E6E3-44CF-94B8-C25EB36E0C0B note quicklook xpos 565 ypos 640 43FA5FDD-33C5-4580-850C-572FA1219020 xpos 260 ypos 450 4939D389-798F-459F-AF4A-B63F64D1B110 note zbarimg xpos 700 ypos 200 498B32F7-777D-4970-B05C-FAEBBC07B17D xpos 50 ypos 450 4E6EDCC5-121B-4DEE-BD30-A376EEE182A5 note check reversed xpos 1090 ypos 455 6206D6F7-3F76-4DC9-868F-8321C4E306B6 xpos 1555 ypos 105 6BC49598-7306-44DA-A7F8-6239C5F03C8C xpos 610 ypos 500 7F782624-41DE-42C0-9B0A-F88AA619E878 xpos 480 ypos 480 85849FE1-713B-4913-9D7C-CE9F40A31677 xpos 905 ypos 510 AEFB7290-B340-4751-A973-E44C0161765A xpos 50 ypos 145 E76E0D43-9ED3-41B5-81F5-F4050C4952E5 xpos 265 ypos 640 EA9B8622-BBCD-4F80-9D87-C2841CBC013D xpos 1335 ypos 555 F0D382D5-DC42-4DFB-9754-E64DABBFEE70 note reverse pic xpos 1340 ypos 255 userconfigurationconfig variablesdontexport version 0.6 webaddress https://github.com/alanhg/alfred-workflows/tree/master/qr-reader