Closed stavfx closed 1 year ago
@stavfx
I haven't been able to reproduce it, but I think the writing here can be improved. We can solve it directly using a shell command to avoid the situation you mentioned. You can give it a try.
I test ok.
do shell script "rm -f " & quoted form of savePath
If it's okay, I'll release a new version.
Yup, that works even better. since it doesn't trigger the trash sound effect. Thanks! 🎉
https://github.com/alanhg/alfred-workflows/tree/master/qr-reader
The new version released.
Describe the bug
The first AppleScript in the flow has this block:
For some reason on my machine,
if exists savePath
on my machine always returnsfalse
. I solved this by changing the above block toI didn't know what's the right way to fix this officially, so I didn't make a PR, just this issue.
Workflow Name
QR Reader
Alfred Version
5.1.3 [2175]
MacOS Version
macOS 13 Ventura
Mac Chip
Apple Silicon (like M1, M2)
MacOS Locale
EN
Workflow Homepage is 👉 QR Reader