Jump to content

Search the Community

Showing results for tags 'workflows'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media


  • New Features
  • Other

Found 120 results

  1. If Alfred were paid in 'penny per use' he'd be rich. This App is simply wonderful and been part of my Mac for years now. I wonder how many Workflows I miss out on? I know we all have different needs, but is there a quick way of seeing New Workflows? (a monthly email, or should I check the forum?) Or indeed a Gallery of most downloaded Workflows? Be so great to quickly check back from time to time and see anything I need to add to my Alfred setup! Thanks again for a brilliant App. Adam
  2. I'm happy to announce that after months of development, I'm ready to make a new workflow and theme repository available to the public as an open beta: Packal. Workflows and themes are taggable and searchable. You can add in the icons, screenshots, long descriptions, and brief ones. There are many different ways to find whatever you need there. Since this is an initial announcement, there isn't much content there yet, except for the workflows and themes that a few kind testers uploaded. Themes are stored as a simple application URL, which means there are no files to download, but, instead, they import directly into Alfred2. Workflows are scanned for viruses after they are submitted but before they are made available publicly. Workflow authors can easily update their workflows just by editing the page and replacing the workflow file there. What is even better is that Packal has its own updater for workflows. So, you have the option to update any workflows that you have downloaded from Packal. I think that these are exciting developments for Alfred, and this sort of repository is what many people have been waiting for since these forums were created. One great advantage for distributing your workflows via Packal is that you do not need to maintain your own download links for your workflows anymore, so you won't need to worry about download limits on sharing services. Another advantage is that it will receive more visibility as it is a place where people can look for workflows and themes without having to page through the impressive number of posts in these forums. So, please, head over to Packal, browse what's there, and, very importantly, submit your own workflows and themes. --Shawn
  3. Recently I have been really enjoying programming workflows in Go using @deanishe incredible AwGo library. So I decided to write an article on how anyone can start building things with Go by going through building a complete and working workflow from scratch. You can read the article here. I would really love to hear your thoughts on it. 💛 It is quite long in hindsight but I wanted to be as clear as I can be so anyone can follow along. I also leave some personal tips of my own that I use to help me develop workflows faster.
  4. Hi folks. I'm totally new to scripting and was trying to create a script that turns on Do Not Disturb for a set number of seconds and then turns it off. The number of seconds would be passed in as an Alfred argument. I have the script mostly done and working, but the last part is figuring out how to pass in the argument. Can someone please help me? Here's what I have so far: on run argv delay 3 tell application "System Events" option key down delay 0.1 tell application process "SystemUIServer" try tell (every menu bar whose title of menu bar item 1 contains "Notification") click (1st menu bar item whose title contains "Notification") end tell end try end tell option key up end tell delay ****[the argument from Alfred]**** tell application "System Events" option key down delay 0.1 tell application process "SystemUIServer" try tell (every menu bar whose title of menu bar item 1 contains "Notification") click (1st menu bar item whose title contains "Notification") end tell end try end tell option key up end tell end run Any help would be greatly appreciated! Thank you!
  5. Hey Folks, Sorry in advance if this isn't the place for V3 workflow tips (and sorry if discussing V3 stuff, here, before public release is poor manners!). I am trying to have the following as a workflow: Filter file types (e.g. search only PDFs or only .skim notes or only .mmd files) Search for text within files of that type (e.g. search for 'justice' within only PDFs, or within only .skim notes) ​(So long as we're talking dream workflow, here, it would also be nice to filter multiply e.g. Search only in [.skim notes] with [tag=Aristotle' AND 'Nussbaum] for [query=justice]...) I know I can do 'in {query}' to search within files, and I know I can do file filters to search for specific file types, but I don't know how to chain the two so as to search within specific file types. I gather that Alfred V3 should be able to accomplish this (some kind of dynamic file search?), but I'm at a bit of a loss as to how to do it. Would I do a file filter, and pass off the entire result-list of files of that type to the next filter as a JSON utility? Or is this a bit outside the scope of what workflows are supposed to accomplish? Thanks! Caleb
  6. tl;dr: A new Alfred workflow to launch Zapier workflows from your keyboard. Ever wanted a quicker way to add data to your web apps? Say you get an email from a potential customer, and you want to add them as a new lead to your CRM. You have to copy their email address, open your CRM app in your browser, find your Lead page, open the Add Lead page, and finally paste in the info. Or if you wanted to find more details about a contact—perhaps to see what products they've bought from your store, or their last email to your support team, or the notes you wrote about your last call with them—you'd need to open a handful of other apps and search in each one manually. Personally, I wanted a simpler way to send template emails. I wanted to enter a contact's name in Alfred and have it find details about the contact in address book, then make a new draft email to them. That's why I made this Zapier for Alfred workflow. Zapier's to web apps what Alfred is to your Mac—it connects 750+ web apps (including Evernote, Salesforce, Shopify, Gmail, PayPal, and much more) so you can build workflows and automate tasks. And with Zapier for Alfred, you can start those workflows from your Mac's keyboard. Everyone will have a different use case, but the core workflow works the same. You'll make a Zapier workflow, and connect it to your Zapier for Alfred workflow in Alfred. Then, to run it, you'll enter some text into Alfred, and this workflow will send it to your Zap to kick off the online workflow you made. Then you can get the results back to your Mac in a Pushbullet notification, email, Dropbox file, or even an SMS message in Messages. Download Zapier for Alfred here, or check out our launch blog post for more details. Looking forward to hearing how you use Zapier with Alfred!
  7. How do I set up a workflow to choose a specific contact in Contacts and send that person a message via the Messages app? (Akin to how Alfred allows a user to email a specific contact.) I started a new workflow that launches the Messages app, and I tried to add a Contact Action, but that doesn't exactly work: Contact Action comes before, rather than after, Messages -- and I want Messages to start first and enable a specific contact to be used as the input. I welcome advice and suggestions. Thanks!
  8. Keep all the miscellaneous crap off your Desktop by sweeping everything into a "DeskDrawer" folder, which is easily accessible from our good friend Alfred. Download DeskDrawer v1.5 [updated 25 March 2014] Okay, the idea is not completely original — I've used apps like DesktopTidy and Unclutter to achieve this, but it's amazing how simple it is to replicate the basic concept with an Alfred workflow. This is your "DeskDrawer" in Alfred (keyword "drawer", default hotkey Shift-Cmd-D). From there you can: search the list (just start typing) open an item (select it) move it back to your Desktop (option-select) reveal it in DeskDrawer/Finder (cmd-select) browse/open it in Alfred (ctrl-select) for further action. Move item to the Trash (fn-select) [NEW in 1.3] There is a file action, "Move to DeskDrawer" (as well as the keyword "move") for quickly flicking items into the Drawer. There is also the keyword "sweep" to scoop all your Desktop items into DeskDrawer in one hit. And finally, "deskrestore" will dump the contents of your DeskDrawer back on the Desktop in all its messy glory. You can also undo your last file/folder movement with the "unmove" keyword. [New in v1.5] And now you can protect certain items on your Desktop from being moved during a sweep, with either the File Action "Protect from DeskDrawer Sweep" or the keyword "protect". (Reverse this with the File Action "UnProtect from DeskDrawer Sweep" or keyword "unprotect".) [New in v1.5] And finally, for full documentation, use the keyword "deskdrawer help". [New in v1.5] I don't about the rest of you, but I like to keep my Desktop as clutter-free as possible (unlike my IRL desktop! ), so having this capability in Alfred is great. Let me know what you think, or any bugs you find. Features I'd still like to add: The ability to "protect" certain files from the "sweep" and "deskrestore" actions. [DONE in v1.5] Be able to specify the location of your DeskDrawer folder. [DONE in v1.2] Any requests? UPDATE: 1 April 2013 - v1.3 New action: "fn-select" item to Trash it. Consolidated and tidied up workflow setup panel. Support for Alleyoop auto-updater Minor cosmetic tweaks. UPDATE: 2 April 2013 - v1.4 New keyword: "move" — moves selected items to Drawer (same as the file action, but you just enter it in Alfred's main window — some people seem to prefer this approach.)UPDATE: 25 March 2014 - v1.5 New icon for DeskDrawer folder (to fit in with OS X custom folder look). DeskDrawer is now allowed on the Desktop itself. “Undo” function to reverse the last “Move” to DeskDrawer or Sweep. “Protect” specified Desktop items from being moved to the DeskDrawer during Sweeps. Fix for XML-illegal characters in filenames. More icons. Removed AlleyOop updater support. Default DeskDrawer location is now Home folder. Local documentation (keyword: deskdrawer help) Miscellaneous minor tweaks and fixes.
  9. Ok, I've put off moving past Alfred v1 for years because Workflows looked like an elephant gun when all I needed was a flyswatter. But I'm building out a new Mac from scratch, so thought I'd catch up and bite the bullet. All I really want is to assign hotkeys to apps. I used the Workflow template "Launch file group from hotkey," which I assumed I'd need to do once for each app, and just create "file groups" of one app each. But it looks like you're supposed to be able to set up a bunch of these inside of a single workflow: https://www.alfredapp.com/help/workflows/triggers/hotkey/creating-a-hotkey-workflow/ The problem: The instructions refer to and show a + icon in the upper right corner of the workflow panel that I don't see. I will try to resist voicing the cascade of frustrations that the UX for what must surely be a common task is so oblique, though I really hope Alfred gets some UX design help. But can anyone enlighten me on how I can set up hot keys for apps in the way the help page indicates I should be able to? Thanks!
  10. It would be very nice if, instead of only being able to use the context menu, we could also use a keyboard shortcut to quickly access the 'Edit Details' for Workflow components (and groups).
  11. Here's another little tool I've just whipped up: Get an instant list of the current time in various cities around the world. Which you can customize, of course. Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset. Enjoy. As usual, I welcome comments, bug reports, feature requests, etc. ---- 28 March 2013 - UPDATE to v1.5 Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle. A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers. ---- 31 March 2013 - UPDATE to v1.6 New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think. [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole. ) ---- 2 April 2013 — UPDATE to v1.61 Small fix for Dutch (Netherlands) flag matching. ---- 22 March 2014 — UPDATE to v1.7 City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ---- 22 March 2014 — UPDATE to v1.7a New 256x256px icon
  12. I found myself often converting hours & minutes to a decimal format when creating invoices. This workflow simply does that calculation and copies it to the clipboard. Type in the keyword, then hours:minutes to get that amount of time in decimal (rounded to the nearest hundredth). For example, 6 hours and 38 minutes: dtime 6:38 Copies 6.63 to clipboard. http://static.etling.com/assets/decimal_time_workflow.zip
  13. This tutorial is aimed at Alfred 2. Alfred 3 allows you to connect one Script Filter to another, so these workarounds are not necessary. (They might still be interesting, however.) [added 2017-03-20 by deanishe] Provided below is a workflow that provides a demonstration of how to reuse a single script filter or, how to chain multiple script filters together so that you can create the illusion of having multiple steps or allow you to further refine results from the first script filter, using the second. Demo 1 This demo shows how you can use AppleScript to call the next step (another script filter) after the first script filter has completed. This could be used to send the value of the first script filter into the second, or, you could just save the values to file and then read them all back in when you are done. This example will save the value to file. Demo 2 This demo shows how you can reuse a single script filter using autocompletion to separate multiple inputs with a delimiter. When the filter completes, you could then use that delimiter to split the string into its multiple parts. This works really well if your input data is numeric or short strings. Demo 3 This demo shows how you can reuse a single script filter, with AppleScript to provide multiple inputs/steps to the end user.The data entered by the user is saved to file in each step, then read in and appended together at the end. You could separate the final output with a delimiter and pass it on to something else if you wanted. There are many ways that this could be customized to your liking. Change the delimiters, how values are passed, etc. This thread is merely meant to provide examples of how this could be accomplished for those interested. Download the demo workflow here.
  14. JSON Config as workflow argument

    When an object in a workflow outputs valid configuration JSON, this will be applied similarly to the JSON Config object in the workflow editor. Unfortunately, this seems to apply to all objects, including keyword inputs and the like, meaning that if valid configuration JSON is typed into any workflow keyword input, the workflow will not work as expected. This can be easily reproduced by creating a workflow similar to the one shown below and typing the following text into Alfred: To break the intended functionality: test { "alfredworkflow" : {} } To actually manipulate the workflow: test { "alfredworkflow" : { "config" : { "title" : "Title", "text" : "Text (this should not be possible)" } } } I am using Alfred v3.3.1 [806] on macOS 10.12.3. This could easily be fixed by adding a checkbox specifying whether the output of the object should be interpreted as configuration.
  15. *************** Please see new thread ****************** Alfred already has the ability to search in many different contexts due to the versatility of workflows, and this is great. The downside is that the more workflows that you have, the more Alfred starts to lose part of its initial appeal as being a quick way to search everything in one place. For example, I'd like my pinboard bookmarks to always show up in my default results since they have equal importance to me as the files on my computer. This is just one example of many. Two possible features that could help: Allow workflow results to be included in the default search. Allow items be passed between workflows, to easily combine them into "meta-workflows" and reduce the total number of searches you have. I understand this is a performance risk, but I don't have the technical knowledge yet to understand exactly how to solve that. I'm grateful that a conversation has already been started in another thread about this, and I think we should continue it here and work together to find the best solution. In response to one part of that conversation, @Andrew said: And @deanishe responded: I think @deanishe is on to something important. Thank you for considering.
  16. I use Alfred as my main clipboard history tool, and it's very handy for re-pasting something I recently copied, and then copied over. However, it's a clunky process to open the clipboard history -- is there any way to make it accessible from within the Alfred main window, so I can select clippings via a Cmd+number combo?
  17. Installed Sierra last night. None of my workflows are working anymore. Is there a compatibility issue?
  18. We can use Alfred on all our Macs. I have two – one for personal use and one for working. I would appreciate possibility to disable workflows on certain Mac so I would have enabled those used on personal Mac and others on my work Mac. There is such possibility in Keyboard Maestro app and I am using it and thought that Alfred could also include such option.
  19. I have updated my description of how I use Karabiner in combination with different workflows and keyboard maestro macros. I think it's insanely powerful in combination. Perhaps some will find this idea interesting and would like to implement something like that too on their machines, the only current requirement is being on El Captain as this software is being rewritten for Sierra still and is thus not compatible. The most amazing thing though is that there really is no longer a barrier to adding a new hotkey. I don't have to twist my hands. I don't have to try and remember the shortcuts as first, I use them daily, and secondly, I can map my hotkeys naturally into their appropriate sections. Ultimately I am always two keypresses away from everything that I can dream of doing. And if you don't find this idea interesting, you can just see what workflows I personally use and love and there are many of them. P.S. I hope it is okay that I share links to the workflows like that, if any author takes offence in how I present this information, I am willing to take down the links. I am also currently in process of trying to understand how to use either awgo or alfred-workflow library to write a goodreads and quora search with autosuggestions workflows so I hope I can share those some time later.
  20. It would be nice to have an easy way to access the clipboard in a workflow. It's not that hard using script actions, but it would be nice to have an utility for that. I would suggest to add dynamic placeholders to the "Args and Vars" utility. This way we could not only access the clipboard with "{clipboard}" but also combine it with the current query or easily use date objects.
  21. Snippets and scripts

    Is there a way to call a script from a snippet or inversely trigger a workflow with a snippet?
  22. Currently, if a workflow extends beyond the bottom of the editor window in Alfred Preferences, it's only possible to scroll as far down as the bottom edge of the lowest element. This makes it mildly tricky to add an element beneath that (i.e. start a new row). You have to create it somewhere in the middle of your existing elements, then drag it down into position. It'd be helpful if Alfred allowed you to scroll down about a row's worth of pixels beyond the bottom of the lowest element, so you can create elements where you want them. It's a fairly minor thing, but if it's easy to implement, I think it would improve the workflow-building experience a wee bit.
  23. A significant problem in adding Alfred 3 features to my workflows is that Alfred-Workflow's update mechanism, which is based on GitHub releases and used by scores of workflows, has no way to tell if a workflow is Alfred 2 compatible or not. Either there's a release with a higher version number containing an .alfredworkflow file or there isn't. That's how GitHub releases work. Developers currently have 2 options to prevent their updated-for-Alfred-3 workflows trying to break themselves in Alfred 2: Start a new repo Mangle the release in some way that older library versions ignore it No. 1 is not a popular solution for obvious reasons. With option 2, you can either mess up the tag (version number) to something that isn't a valid semver, but contains one, like "a3v1.0.1", or you change the file extension of the upload to something that isn't .alfredworkflow. Changing the file extension involves deliberately breaking the fewest things, so that's currently the preferred solution, and it's the one I'm going to go with. The library will rename the file after download if need be. The problem then is that anyone who downloads the file directly from the releases page then won't be able to install it without first changing the extension. That seems to be the least evil on offer, however, and it would be awesome if Alfred 3 "blessed" this behaviour by adding support from an additional, Alfred-3-only file extension. Alfred 2 apparently also has issues with installing workflows it shouldn't because it doesn't support them. A v3-only file extension could head off issues in that direction much more simply that heaps of logic in Alfred 2 to figure out if it's about to overwrite a functioning workflow with a newer, but incompatible, version. In the above-linked GitHub issue, Shawn goes further and says Alfred 3 should use a different extension by default (i.e. if I export a workflow from Alfred 3, it gets a different extension) to provide "a consistent visible indication to the user that a workflow is only for Alfred 3". Certainly a valid point, but it not one I came here to push, as I'd be happy with an "everything works and nothing is broken" solution to the problem as laid out above. (It would also allow parallel Alfred-2 and -3 workflows in the same GitHub release, not that this strikes me as a particularly compelling reason.)
  24. Update: This doesn't work anymore, not sure if it is Mavericks or not, but regardless I've created a completely rewritten python version of the extension which you can download here http://goo.gl/uhzK7I . It is just as hacky as the original version of the extension and uses a deprecated API from Google that is currently being aggressively rate-limited, which all goes to say this may stop working at any time. Enjoy! ------------------------------------------------------------------------------------------------------------------------------ Here's a hacky attempt at my first workflow. It is a google search workflow that lists results from google as you type. It probably needs a bit more work, but is pretty cool. I used the google-search gem and https://github.com/canadaduane/alfred2-ruby-framework in addition to some code from the Google Autocomplete plugin written in ruby by Ted Wise. I've only tested it on my Mac, so let me know if it breaks on yours. Here's the link: http://goo.gl/ufg81 (see new version posted above)
  25. Hi everyone, Trying to have Alfred trigger one of my workflows by searching, not by a hotkey combination. Eg: do a regular Alfred search for for "asdg" => trigger workflow X. Is this possible? Thanks a bunch!