Search the Community

Showing results for tags 'workflows'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Categories

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

Categories

  • New Features
  • Other

Found 117 results

  1. 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!
  2. 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
  3. 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).
  4. 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
  5. 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
  6. 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
  7. 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.
  8. 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.
  9. 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.
  10. 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?
  11. Installed Sierra last night. None of my workflows are working anymore. Is there a compatibility issue?
  12. 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.
  13. 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.
  14. 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.
  15. Is there a way to call a script from a snippet or inversely trigger a workflow with a snippet?
  16. 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.
  17. 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.)
  18. 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)
  19. 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!
  20. I love Alfred but I struggled at first to troubleshoot my workflow scripts due to difficulty finding a way to debug. I've seen posts mentioning writing logs to an external file but that seemed hack-y, especially since Alfred includes a debug console. If you'd like to use the console to debug your scripts, I found the following very useful. It would be great if there were a mention of this in the docs: To show script output in the debug console, print (or echo or put, etc) the output to stderr instead of stdout. In a Bash script: >&2 echo "Log this output to the console" In a Python script: import sys sys.stderr.write("Log this to the console") For other languages, look for an equivalent method that allows you to log to stderr.
  21. I am in the process of creating an Alfred 3 workflow that uses a list filter option and the chosen option is passed into the script filter So typing the first keyword umb triggers the list filter, where the user can choose from all, forum, documentation or packages After choosing this option the user presses enter and then types in their search query which passes the query into the script filter which queries an API using a CURL script with BASH to return JSON What I would like to achieve is the following, that a user types in umb forum followed immediately by the search query so umb forum inserting images so this allows users to choose what Here is a quick gif of what I am trying to describe http://cl.ly/061V3L3p2v0w Current Workflow, if anyone is able to download it & provide any help or pointers would be fantastic http://cl.ly/0k0l1f441f2s Cheers, Warren
  22. I'm not 100% sure whether this qualifies as a bug rather than a feature request, but this seems the best place to post about it: When using the file filter input in a workflow, it would be super handy to have it show previews and file info the way it does in the file navigator like this: Also, if animated gifs could actually animate in the preview as well, that would be *amazing*!
  23. I know that it's all the rage in 2016 not to document products and rely on inefficient, inaccurate, poorly-written user forums to document a product. But in Alfred's case, I think it's a big mistake. From what I can gather, Workflows are quite powerful. And indeed, you've expanded them significantly in Alfred 3. But for those of us who aren't currently programmers, the documentation is virtually nonexistent, so we just don't use them. There's one overview page saying "here's what trigger/input/output are." Then the next pages are getting into bash script construction, instantly dropping to the level of discussing variables and control structures. But for those of us who aren't bash programmers, who don't understand what workflows do beneath the covers, how variables are used, etc. I think Alfred could be boosted to even higher success if people really understood and could access its power. But I'm a power user and I can't figure out how to access its power with a modest level of investment. I doubt other non-power users are able to either.
  24. I often find myself wanting to research the last thing I just searched on Alfred. So I thought it would be cool if I could open up my previous search using a keyboard shortcut. I guess it would kind of be like the inbuilt 'Previous path' where, if you are in file navigation, you can open your last path.
  25. Hi all, I installed Maverick today morning, I made a clean install. Now I would like to find my workflows files on the clone of my old system (ML) to put on my new one. Where can I find these workflows files ? Thank you for your help.