vitor

Member
  • Content count

    1,439
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by vitor

  1. Update. Small fix to sub message on successes. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.
  2. Provides both a File Action to run shell commands on selected files/directories and a Keyword to run them on the current directory. It will detect your default shell, and if it’s bash, zsh, tcsh, csh, or fish, it’ll load the appropriate startup files and your aliases. For the File Action, use Alfred to pick what you want to run a command on and choose Run command. Alfred’s main window will appear and you simply type the command you want. For the Keyword, type . followed by a command. A space between the period and the command is not necessary. This will run the command on the active Finder window (e.g. .touch this_file). You can also easily chain commands (.cd Desktop && rm that_file). For commands that would benefit from the files not being at the end (like cp and mv), you can use {} as a placeholder for the files. So if you select some files and want to copy them to ~/Desktop/ you’d type cp {} ~/Desktop/. To get the output of the command as Large Type, use ⌘ when actioning it. Download | Source License The Unlicense (Public Domain, essentially)
  3. Use the thesaurus service provided by words.bighugelabs.com to get synonyms and antonyms to words. To set up, get an API key and set it in the Workflow Environment Variables. You can then check for synonyms and antonyms by calling syn or ant followed by a space and the word you wish to check against. Alternatively, select a word and press the shortcut you defined to get the results. Pressing ↩ on a word will paste it to the front most app, which is useful when writing a text and want to change a word in place. Download | Source License The Unlicense (Public Domain, essentially)
  4. Packal is in maintenance mode, meaning you shouldn’t expect many (or any) fixes to the website itself. The github page for the workflow (which might be the best channel to contact the developer) says it was updated two days ago, so it seems maintained. You might be missing one of their required steps, like getting an API key or installing Node. If it’s all the same to you, you might try SynAnt instead (disclaimer: I wrote it). I use it regularly so I know it works, and I’ll be able to better help you with something I’ve wrote. It also has fewer dependencies and more options (antonyms), while using the same API.
  5. Hello and welcome to the forums, When making a request or a bug report pertaining to a specific workflow, please do not open a new thread to discuss your issue. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the author and users of the workflow (the people that can actually help) will see it. Instead, search for the official post of the workflow and ask your question there. Also, please always start by reading the Reporting Problems with Workflows thread, and the others it links to. In this case, it’s absolutely unclear what workflow you’re talking about, even.
  6. Alfred Preferences → Features → Web Search. Disable what you don’t want.
  7. Update. Add support for uploading multiple selections at once. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.
  8. Upload to transfer.sh directly from Alfred. Pick paths to upload via the Upload file File Action. Directories and multiple paths will be zipped prior to upload. You can check your upload progress with ufp. It will auto-refresh the progress. Press ⌘↩ to cancel the transfer. You’ll get notifications of the various phases, with a sound when it’s complete (or canceled). The download URL will be copied to your clipboard. Donwload | Source License All the code in the workflow’s root directory is licensed under The Unlicense (Public Domain, essentially). Applications and libraries inside the “_licensed” directory are not public domain, and are accompanied by their respective licenses.
  9. pkill osascript should work.
  10. Yes, you can still do it with copy and paste and no delay: set the clipboard to "{query}" tell application "System Events" keystroke "f" using command down keystroke "v" using command down end tell say "{query}" speaking rate 250 Download the new version. As for the sound, it’s not the keystroke doing it, it’s the Play Sound node at the end. I copied it from your screenshot.
  11. Good thing it doesn’t, as I depend on the queue heavily, for DownVid. It’s not uncommon that I add a bunch of videos at once, some quite large. It’d be a shame to lose some in the process.
  12. @deanishe I’m not entirely sure I understood your whole point, but from what I understand @flome wants (and the way I built the new workflow to work) he would not be searching for “sandwiches” (one query), but instead for “s” “a” “n” (…) (multiple sequential queries). In that case, Alfred does queue them as expected and runs them all.
  13. Hello and welcome, @gatek. Try the troubleshooting steps.
  14. First, a few notes. pbcopy < "{query}" is wrong. It should instead be pbcopy <<< "{query}". The former is trying to read from a file (that does not exist) while the latter is reading from input. You’re doing a lot of work in AppleScript from bash. Instead, use AppleScript directly for everything. When asking for help with a Workflow, it helps if you post a link to download the Workflow, not just screenshots. Not only does it help us get started quicker, you never know if the problem isn’t on a configuration you missed. You don’t need to copy the text and paste it. You can just write it out. I’m betting the problem lies somewhere there. Try this one. The code it uses is instead AppleScript: tell application "System Events" keystroke "f" using command down repeat with c from 1 to count characters of "{query}" keystroke (character c of "{query}") end repeat end tell say "{query}" speaking rate 250 The reason for the whole repeat loop instead of simply keystroke "{query}" is the latter can type too fast and mix characters, while the former will have a negligible delay between each character, ensuring it all gets typed correctly.
  15. Pause and resume execution of the frontmost app. Directly inspired by Universal Pause Button and they story. Set keyboard shortcuts or use the keywords freeze and unfreeze to call it. Download | Source License All the code in the workflow’s root directory is licensed under The Unlicense (Public Domain, essentially). Applications and libraries inside the “_licensed” directory are not public domain, and are accompanied by their respective licenses.
  16. When making a request or a bug report pertaining to a specific workflow, please do not open a new thread to discuss your issue. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the author and users of the workflow (the people that can actually help) will see it. Instead, search for the official post of the workflow and ask your question there.
  17. But that’s only active when the iTunes Mini Player is also active. Otherwise you also wouldn’t be able to use Backspace. It would make no sense for Alfred to save those shortcuts globally. Why do you think Alfred is the one using ⌘R? What happens when you press that combination?
  18. Can be shortened to if this_process is not in white_list and this_process is not in the frontmost then set end of quit_list to this_process end if
  19. Alfred doesn’t use that hotkey natively, as far as I remember. It’s probably in one of your Workflows. Go to the Workflows tab and click the cog in the top left. Pick Show Hotkeys under Display Options so that all hotkeys used by your workflows are shown in the sidebar. You should be able to identify the correct workflow and either remove or change the hotkey.
  20. Not related to the thread itself, but my opinion on the matter. I’ve used QuicksIlver, Google’s Quick Search Box, Flashlight, and LaunchBar. The last two just briefly, to see how they were. I may have used others that I’ve since forgotten. To me, Alfred has beaten them all in how easy it is to start making your own stuff, and that matters a lot. When you can start experimenting faster, you can more quickly learn if it’s worth investing more time to dig deeper. Alfred passes this test with flying colours. I mean, just look at this thing. Now I need to start learning about Info.plist and app bundles and read documentation full of boilerplate code (or so it seems) just so I know if I can start making something? That’s made even less impressive by knowing Alfred had already been past version 2 for a while, meaning Workflows were already a thing. And from the screenshot on the page actions look really limited in context. They look like they’ll be about as powerful as Alfred 1, but take longer to build! Now, I may be mistaken about the capabilities of LaunchBar actions, but the point still stands. In comparison to Alfred, it looks like custom scripts can do less things and are harder to even start building. The latter really takes away your impulse to check if the former is false. That’s the huge thing about Alfred: when I see others talking about alternatives, they usually rave about their native abilities and then mention one or two plugins. With Alfred it’s the reverse: it’s all about what you can do with the plugins (Workflows) that exist. When I bought the Alfred Powerpack, back in version 1 (version 2 was release shortly after), I had maybe one or two scripts I wanted to run with it. It’s in big part because Alfred is so easy to start experimenting with that I now have almost 40 released Workflows, plus some private, plus some that I’ve deprecated. What’s more, I needed no extensive documentation to start building, I just did!
  21. So far, only one interested contact. Pinning this for a few days, to see if there are more.
  22. Inspired by Zach Lieberman, I’d like to try open office hours. I’ve never hosted or participated in any, so it’ll be a learning experience for me as well. The goal is discussing Alfred (or anything you want, really). I’m not an extraordinary developer, but I do have extensive experience with Alfred and coming up with solutions to make workflows do what we need. We may or may not talk code, but time would likely be better spent discussing how to make your ideas fit a Workflow. If you’re interested, reply to this post, send me a direct forum message, or tweet at me. Tell me if you have preferred days of the week and times. I’m in Lisbon (Portugal), so please give me your times in GMT (and if it falls at 5AM, you’ll know those aren’t suitable). Also include if you’d like to discuss alone or are fine with other people joining in. If you don’t have anything to talk about and just want to assist, that’s also fine; just say so and you can sit in on the conversations with the people that say they are fine with others joining (if any). After (if) I get a few people interested, we can schedule a day and times from there. I don’t have a Skype account, so we’ll talk via appear.in. It’s like Skype, but you don’t need an account or installing anything, just a web browser. It also allows easy screen sharing via a Chrome extension that can be installed on demand. It supports up to eight people at once. Emulating Zach, I’m thinking twenty to thirty minutes per person, over a couple of hours. At least for the first time, having just a few people might be best, to know what works and doesn’t.
  23. Not natively, but there’s a Workflow for it (disclaimer: I made it). You can press ↑ after calling Alfred to recall the latest command, but what you appear to want is that even if you move a file somewhere, Alfred would detect that and suggest interacting with that file, wherever it went, is that correct? That is not currently possible, no. Maybe Menu Search.
  24. Fixed the download link. Apologies and thank you.