-
Posts
8,531 -
Joined
-
Last visited
-
Days Won
713
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by vitor
-
Could you please give another example of your use case? System preferences might be a bad example since the way it works is very specific (very few apps present information like that), and you can already access its “sub options” via Alfred, simply by typing them.
-
Download Media — Download video and audio from web pages
vitor replied to vitor's topic in Share your Workflows
Update. New icon, and updated youtube-dl. -
Have you installed gpg via homebrew, or a similar tool? It’s an easy to solve, but frustrating problem. Since Alfred does not read your PATH, you need to add something like PATH=/usr/local/bin:$PATH (or wherever you have gpg installed) to the top of your script, so it can find it.
-
Words With — Find words that contain a particular pattern
vitor replied to vitor's topic in Share your Workflows
I don’t dislike the idea, but I’m thinking defining it via Safari (or any browser, for that matter), is a bit much, when we have an alternative already builtin, that works great. I’ve updated it. Selecting a word will now automatically call the “define” keyword in Alfred, with the word as the option. -
Can't get multi-argument shell script to work
vitor replied to ebarrere's topic in Discussion & Help
Completely forgot about that. Yes, it’s a common issue, as Alfred does not read those files. A common solution would be to just add to the top of the script source "${HOME}/.bash_login" or PATH="/usr/local/bin:$PATH" (or whatever you need your PATH to be). That way you can keep the rest of your script pretty much intact, without having to always remember to use the full path of the executables. -
Words With — Find words that contain a particular pattern
vitor replied to vitor's topic in Share your Workflows
I’m not sure what you mean. The goal of the workflow is just to gather if the words exist at all, to allow you to pick triggers that don’t conflict with words that you might use. In what way are you thinking Safari would fit in this? -
Can't get multi-argument shell script to work
vitor replied to ebarrere's topic in Discussion & Help
That’s what I was thinking could be the problem, when asking to see the workflow. If the script itself is working well, making that small adjustment should make the workflow work. -
Can't get multi-argument shell script to work
vitor replied to ebarrere's topic in Discussion & Help
Could you share the workflow, so we can better evaluate what the problem might be? -
Like I say it the post, it is technically possible, but not in an “official” manner. You have to send keystrokes to go to, select, and copy on the url bar, or in some cases do it via javascript, and all of these are error prone in one way or another, so I prefer to simply not include it in my workflows.
-
Can't get multi-argument shell script to work
vitor replied to ebarrere's topic in Discussion & Help
I was asking because it seems to be working for me, except if I turn that option on (naturally). Try this, then. Instead of read IP NETMASK <<< "{query}" use something like IP=$(cut -d " " -f1 <(echo "{query}")) NETMASK=$(cut -d " " -f2 <(echo "{query}")) Does it work for you? -
Can't get multi-argument shell script to work
vitor replied to ebarrere's topic in Discussion & Help
Did you untick the “Spaces” box on “Escaping”, just above the area where you write your script in Alfred? -
If you want to add support for more browsers, you can check the Applescript for them on this post.
-
Alfred doesn't seem to know ~/Applications :(
vitor replied to rebcabin's topic in Discussion & Help
You have to specifically tell Alfred to watch for those file types. See this other post for details. -
Parse resulting output from file filter
vitor replied to finn-matti's topic in Workflow Help & Questions
I that case, what you want to look at is the arg attribute. The XML is purely to inform the formatting of the output in Alfred, it’s not supposed to actually do anything. What you do is build a script that does something with the arguments you give it, and then on the XML you use the arg attribute to feed it those arguments. Check the posts again, and download the workflow from the first one, as it is simple and uses the arg attribute to pass along arguments. You can also check my PinAdd, WatchList, and LabelColor workflows (links in the signature; “LabelColor” will probably the the easiest one to understand), for some real-world examples. -
Parse resulting output from file filter
vitor replied to finn-matti's topic in Workflow Help & Questions
Check the first and second pinned posts in this forum section. They explain the XML you need to use to format the results. Specifically, you’re looking for “<title></title>” and “<subtitle></subtitle>”. -
Download Media — Download video and audio from web pages
vitor replied to vitor's topic in Share your Workflows
Have you tried the updated instructions? You should only need to start at step 6, and it’s pretty straightforward, now, just one small addition and one small substitution. That said, f you still find it confusing, please let me know (so I can make the instructions better), and get the version you want (link available for seven days). It’s actually a good thing that you’re redoing it, since WatchList was updated to work a different way, recently, and this way you’ll get the new compatible version. -
The code isn’t editor-specific, you can write it wherever you want. As long as you can select it, you can convert it with this.
-
Seems to be working without a problem. Thank you.
-
Update. It now uses the frontmost Finder window as the starting point of the command (if none is open, it defaults to your home directory).
-
Run Command — Run commands using your shell configuration
vitor replied to vitor's topic in Share your Workflows
Update. Solved issue where commands with multiple flags/options would not work. -
Small update. It gets rid of the reference file it creates, after the operation is done.
-
Well, if it replaced the clipboard after pasting the directory in, then it wouldn’t need to replace it at all, but I agree, it should revert the clipboard to what it was before (similar to what TextExpander does). In the meantime, what you can do to circumvent this is to activate the clipboard history feature (Open Preferences → Features → Clipboard); which means you can at least get back the content you previously copied.