Jump to content

Stooovie

Member
  • Content Count

    12
  • Joined

  • Last visited

  1. Brilliant, the Applescript way is just what I needed, thanks! Case closed
  2. Thanks! Just one thing - how do I pass my root (admin) password so I don’t have to enter it manually upon invoking the command? TY EDIT: I’m just using the Terminal command action to do this, with a simple "sudo -b /Applications/Marta.app/Contents/MacOS/Marta"
  3. Hi, I’d LOVE an option in Alfred to launch apps as admin (=with sudo). For example, some file managers like Forklift or Marta don’t run as admin by default, making them less than ideal for my needs. I know I can do this in terninal, but I’d love to be able to do this in Alfred, preferably with modifier key (i.e. "hold Opt to run as admin“). Any tips? Thanks!
  4. Script doesn't seem to work anymore. I'm unable to get any results, it always falls back to web searches.
  5. I'd like to set this as the format parameters: -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' but no matter how I edit the vd.sh script, it's always failing. I'm not very familiar with the intricacies of bash scripting, can anyone help? The pertinent lines are (probably) these: output_format="$download_dir/%(title)s.%(ext)s" options="-i -q -o "$output_format"" # --restrict-filenames yt_output=$("$yt" $options "$video_url") The goal is to set this, for example: youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' https://www.youtube.com/watch?v=-me5AGrIvOo Thanks for any help.
  6. Why close immediately? For example for Youtube-dl commands. You need it to do its thing, save the file and then close.
  7. Mojave 10.14.3., Alfred 3.8.1. Usage of mail clients is inconsistent. "Mail" keyword honors system-wide email default (I have it set to Spark), but "Email" and "Email to" file actions do not - they always open the default Apple Mail client. Expected: Alfred honors and uses the mail client set by user. EDIT: I see this is probably due to 3rd-party mail clients not supporting AppleScript. If that's the case, Alfred should give this information to avoid confusion.
  8. I wonder why there isn't a Pastebin workflow - just upload selected text to Pastebin and store link to clipboard. Or, can you recommend a similar service? Thanks!
  9. That's a different thing. I'd like an option to invoke the Actions menu itself by → but to only ever run the commands from it by Return. Right now, there's a high mental load as you need to pay attention not to invoke a command by accident. Thanks though.
  10. Is it possible to prohibit the right arrow key from invoking (confirming) Actions? It sometimes causes me to accidentally invoke an action (=run a command like Open or Get info). I'd like an option to only run a command by Return key.
  11. Hi! I'm probably missing something obvious but how do I move/copy files from one location to another using Alfred? I reckon I'd use the buffer, but how do I paste the items in arbitrary folder? I'm only able to move it to the default folders built into the copy and move functions (Desktop, Documents and Applications). I guess I'm looking for some sort of "Copy/move into the current folder" command. Thanks!
×
×
  • Create New...