Jump to content


  • Posts

  • Joined

  • Last visited

henrik's Achievements

Helping Hand

Helping Hand (3/5)



  1. 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
  2. +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?
  3. This doesn't seem to be working any more. 😬 Any ideas on why? 😕 Great workflow, though!
  4. 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
  5. Thank you so much for this deanishe! I can't get it to work, though.. I'm fairly new to workflows but shouldn't it work like this (when I press the shortcut):
  6. I tried that, too. But it didn't work. 😕
  7. Thanks for the quick reply! They are stored under /Users/henrik/Library/KeyboardServices/TextReplacements.db. Does that help?
  8. 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
  9. 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
  • Create New...