Jump to content

vitor

Community Hero
  • Content Count

    2,639
  • Joined

  • Last visited

  • Days Won

    182

vitor last won the day on November 4

vitor had the most liked content!

About vitor

  • Rank
    Workflow Expert / Moderator

Contact Methods

  • Twitter
    https://twitter.com/vhgalvao
  • Website URL
    http://vitorgalvao.com/

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

10,924 profile views
  1. Unless you give me the links, like @TJung did, I can’t debug your problem.
  2. Welcome @surya, You should contact @Vero directly. She’s the person that’ll be able to help you best with this matter.
  3. @TJung That second link has byte order marks all over. If I paste it in a Terminal, I get https://www.y<feff>outube.com/watch?v=blkcXkNyDfE<feff><feff><feff>. As soon as I remove the <feff>, it works flawlessly. Some software in your machine must be adding those.
  4. vitor

    Simple counter for the day

    Welcome @lionroot, You explanation is quite bare. It’s quite difficult to understand what you want. Please describe what you’d like your Workflow to accomplish and how to run it, in steps (1. Call Alfred; 2. Type “something”; 3. This happens). Also, keep in mind that by design Alfred needs you to tell it to do things for them to happen, it does not start tasks without them being invoked.
  5. vitor

    Open office hours for talking Alfred

    Haven’t done it yet. Not enough interested people at once. The previous post still applies, or I might rethink the offer.
  6. vitor

    PDF Metadata Editor?

    @Jasondm007 You don’t need all that. Make it a Run Script with /bin/bash and exiftool -all= -overwrite_original "${1}" (untested).
  7. vitor

    PDF Metadata Editor?

    Ah, right. The correct line is icon: { path: field + '.png' }.
  8. That’s for the best, because it means that when you’re sharing Workflows the behaviour won’t be surprising and inconsistent between machines, which would make it way harder to debug.
  9. vitor

    Brutto Netto

    You forgot to post a link.
  10. vitor

    PDF Metadata Editor?

    @Jasondm007 Show me your modified Workflow so I can see what’s wrong. That’s by design. Alfred needs to have it in the clipboard to act on it.
  11. Same way, give it the full path: /usr/local/bin/bash script_path. Or /usr/local/bin/bash -c "command_here". Or invoke the script as usual (./) but make sure the shebang is correct (#!/usr/local/bin/bash).
  12. vitor

    How to use variables in bash

    And it’s slower and more resource intensive (it has to save a file and call it); it’s more complex (needs extra steps and extra Alfred nodes); and goes against convention (using a txt) making it harder for others (or you in the future) to debug.
  13. vitor

    How to use variables in bash

    Like so: --data "{\"project_id\": 2187691249, \"content\": \"{query}\", \"due_string\": \"$xyz\", \"due_lang\": \"en\", \"priority\": 4}" That makes no sense. There’s no reason why that would work. Also, for bash files the typical extension is sh.
  14. Welcome @fyber, Your shell (in the terminal) has context that Alfred doesn’t (namely a PATH with indicates where to look for binaries). Instead of wg-quick, give the full path (/usr/local/bin/wg-quick?). In the future, when asking for help with a Workflow, please upload it somewhere so we can help you better. See the Reporting Problems with Workflows topic, as it gives a nice overview on how to build an effective report.
  15. vitor

    How to use variables in bash

    Hello @marginwalker, When asking for help with a Workflow, please upload it somewhere as we can’t properly help you without access to it. Debugging can already be hard with access to the code, and you’re asking us to guess yours from a description. There are multiple places where your code or Workflow setup may be going wrong. Without looking at it we’re shooting in the dark. Read the Reporting Problems with Workflows topic, as it gives a nice overview on how to build an effective report.
×