henrik
-
Posts
10 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by henrik
-
-
+1 on snowy. No entry shows up when using the workflow. For some reason, when you backspace a single character, the query box appears for a split second. Does anyone have an idea how to fix this lovely workflow?
-
This doesn't seem to be working any more. 😬
Any ideas on why? 😕
Great workflow, though! -
Hi everyone,
I remember seeing a workflow that did something similar but can't find it anymore.
1. Does such a workflow exist?
2. Would it also be possible to specify the "Color" as "transparent" within a picture search?
All the best,
Henrik
-
-
I tried that, too. But it didn't work. 😕
-
Thanks for the quick reply!
23 minutes ago, deanishe said:It might be possible. Do you know where the system snippets are stored?
They are stored under /Users/henrik/Library/KeyboardServices/TextReplacements.db. Does that help?
-
Hi everyone,
I'm already using many text shortcuts that you can set on your Mac or iPhone via System Preferences -> Keyboard -> Text. It's great because it syncs to all of your devices (something Alfred doesn't do since it's not made for phones). However, the shortcuts don't work everywhere (e.g. address bar in Chrome) and they don't have the immediate expansion that Alfred has (you have to press spacebar or select it).
Do you think there would be a way to sync the iCloud text shortcuts to a snippet collection?
All the best,
Henrik
-
Great workflow! The only issue I'm having is that I can only add a "front" but not a "back".
When I press "back" (in my case "Rückseite"), there is a brief flash of the following image:
Right after, I get the following (blank) Alfred bar with the Anki icon:
I'm using Catalina 10.15.4.
Any idea what's wrong? Thanks for your help!
Best,
Henrik
Record audio with ffmpeg
in Workflow Help & Questions
Posted
Hi there,
I've been wasting many hours trying to figure out the following:
- I can use ffmpeg in my Terminal without problems
- when using ffmpeg in a workflow (bash), I get "[22:27:01.911] ERROR: 0 Record and Transcribe[Run Script] /Users/henrikpetersen/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/F0EC9245-15A1-413D-BCD3-9D2A1FF7C06E: line 24: 19662 Abort trap: 6 $FFMPEG_PATH -f avfoundation -i ":0" -t 5 -loglevel verbose "$RECORDINGS_DIR/$FILENAME" 2>&1"
My script is the following:
# Set the directory and file name
RECORDINGS_DIR="/Users/henrikpetersen/My_Drive/Recordings"
mkdir -p "$RECORDINGS_DIR"
FILENAME="recording_$(date "+%Y-%m-%d_%H-%M-%S").wav"
# Path to ffmpeg
FFMPEG_PATH="/opt/homebrew/bin/ffmpeg"
# Check if ffmpeg is available
if ! [ -x "$FFMPEG_PATH" ]; then
echo "ffmpeg not found at $FFMPEG_PATH"
exit 1
fi
# Kill any existing instances of ffmpeg
pkill -x ffmpeg
# Wait a moment to ensure the process has been terminated
sleep 1
# Record the audio
$FFMPEG_PATH -f avfoundation -i ":0" -t 5 -loglevel verbose "$RECORDINGS_DIR/$FILENAME" 2>&1
# Check if recording was successful
if [ $? -ne 0 ]; then
echo "Recording failed"
exit 1
else
echo "Recording saved to $RECORDINGS_DIR/$FILENAME"
fi
- Any ideas?
- I realized that Alfred has Full Disk Access but is not listed under the microphone accessibility; but I also don't know how to trigger the accessibility for Alfred
Best,
Henrik