Search the Community

Showing results for tags 'workflow'.

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 560 results

  1. I have a workflow (download it here: that works and allows me to select some text like "12345" and use a hotkey to launch a URL of{query} -> However, I want to enhance it to be able to support selecting text like "12345,281928", do the hotkey, then open two browser tabs: {query} -> A = 12345 B = 281928 1: open 2: also open last one? then we're all done. I know PHP well so I could do explode( ',' {query} ), but I'm not sure how to use {query} (is it usable in a PHP script?) and I'm not sure how to tell it to loop through all the items in the array. If Alfred can't use PHP to do this, that's fine, but I'm not well versed in bash, AppleScript, and the rest. Thanks for any help!
  2. Type bt to toggle bluetooth and its menu bar icon. Optionally give it a number to toggle, wait that number of minutes, and toggle back. Download | Source
  3. Hi All! I'd love a workflow that lets me search easily through all the pdfs on my system. How awesome would it be to quickly bring up a pdf by section, or a past bookmark/annotation? I think it would make a library of pdfs much more accessible. Requesting this workflow/pointing me towards one that already exists/some ideas for how to start working on it. Thanks Max
  4. Zip: compress files and folders within Alfred Overview Zip files and/or folders Finder and Alfred File Action supported Unique filename Remove .DS_Store files Triggering keyword zip - after selecting files and/or folders in Finder, bring Alfred and type zip. You can optionally type the zip filename. You can optionally hold control key to select the zip file folder destination. hotkey - after selecting files and/or folders in Finder hit the hotkey. A new zip file will be created based on selection. Alfred File Action - select files and/or folders in Alfred file browser to zip (see screenshot below). What’s new in version 4.0 Alfred 3.0 supportWhat’s new in version 3.0 Select the destination folder by holding control key (keyword zip) Updated to Alfred 2.0.3 (187) Alleyoop 2 support Download Version 4.0 Release date: 08 Jun 2016 Requires Alfred 3 Download Now Zip for Alfred 2 Version 3.0 Release date: 23 Apr 2013 Requires Alfred 2.0.3 (187) Download Now
  5. Hello, I am learning WorkFlow, and now I am trying to make a simple one to open webpages using predefined keyword and arguments. For example, I'd like to open "" by typing "www gg" in Alfred, and to open "" by typing "www bb" in Alfred. In order to do so, I think I may need some "if" statements somewhere between Keyword and Open URL components in order to map "gg" to "" and "bb" to "", but have no idea how to do so. Can you please help me out?
  6. iMessage Workflow V3 My workflow has been easily surpassed by others, please use theirs ---------> However, I'm updating this workflow to Alfred 3 for posterity's sake. Sorry for taking so long guys... Archive Change log: 2/12/2017 - Because of a specific error, I've updated this app. Alongside the minor bug, thanks to Amos Manneschmidt's workflow "Call or SMS contact", I learned how to use OSX's built in Contact app to feed out contacts. Furthermore, I updated this app to be compatible with Alfred 3. 4/30/13 - Non-Latin languages are now supported! I have verified Korean, Chinese, and Japanese. If it works for your language, please tell me! 11/27/13 - My extension prioritizes numbers that have been used before. This should allow Alfred to choose the correct number associated with a contact MUCH more accurately. Works only with phone numbers, not email addresses; A notification is now displayed when contacts are not updated successfully (mostly a response to Exceptions thrown when trying to update) 11/21/13 - Emoticons should now work; Alfred now opens up iMessage if its closed ------------------------------------------------------------------------------------------------------------------------------------------------ If using the OLD way: Setup: Run command 'IMU' before you start using the workflow Find Contacts and Send Messages: Keyword: "im" 1b. Send a message to the aforementioned contact 2. Reply to most recent iMessage or Group Message (Thanks to David Ferguson's Workflow) Keyword: ".." Download Link: Please post up bugs in the comments below!
  7. OK, I have been a Alfred user from day one. But I have never understood workflows. I just upgraded to V3 and I am again wondering why it is so darned hard to figure out? I need someone to explain how it works. Not how the coding works, not how great workflows are as we all know this by now. I am a highly kinesthetic learner. That means, I need to observe something happening, or at least have someone explain what I am supposed to be doing before the workflow engages. And, what is supposed to happen after the workflow has finished. Nowhere do I see any of this explained. For example, I look at the workflow section in Alfred’s preferences, OK. I look at the bottom left and see there are step process parts that I can add - if I had any idea where they go because I have no clue how to actually use a workflow. When I look at the example workflows, no matter how I click, where I click, does it make any sense how this example workflow got triggered. That is to say, when I trigger Alfred, and then I type “ama” and hit tab it has filled in “amazon”. So then I type in what I am searching for on Amazon. This is the same for many things of course. But it does not explain to my brain how this is triggering a workflow. Does the amazon search, or the google search, etc. represent an example of a web search, or an example of a workflow? I have been reviewing and researching cameras, looking for my next camera. So I would love to create a workflow that would open a browser with searching for a camera part on amazon, dpreview, and a couple of other sites that I like. But how do I get started doing this? Where is there an example of taking what is typed, say, “camera & tab” and then selecting 3 or 4 sites to open set to search on what I will type next? Is this a fancy web search that I need to create and to expand? Or, is there a workflow that I have no clue how to get started with. I am less worried about how the workflow parts will fit together in the workflow process - although I am sure there will be questions there later. It’s just that I cannot grasp how these things are getting triggered so I cannot even get started. I cannot understand what is really happening with a workflow. If you look at the workflow examples in Alfred, it does not have a description of what the workflow is supposed to do, it is simply assumed that if you are looking at a workflow example, you must already understand what a workflow is, how it works, or how it is triggered. I beg to differ. I put off this last upgrade for quite some time as I had a powerpack license from day one, but all Alfred was to me was a useful spotlight replacement for searching locally. I sure wish someone could make things simple enough for me so that I could start understanding and playing with workflows too? Thanks
  8. Shorten URL (v1.1) - download here Github Page: This workflow support URL shortener like below. You can use Hotkey to trigger without open Alfred input window. If you want more URL shortener services added, please let me know, . How-To: Choose some long links (e.g Command + A), then press `Command + Shift +L`, choose and you will get the short link in your clipboard with notification center triggered. Tips: How to use this workflow without copy/paste? Just use trigger HotKey, check out this wiki issue here: Screenshot:
  9. video

    Enter the keyword vlcr followed by ... - play or pause to toggle between playback and pause - stop to exit out of playback and show the playlist - next to go to the next chapter or file - prev or previous to go to the previous chapter or file - fullscreen to toggle between fullscreen and windowed - downloads to load all content of your user's Downloads folder into VLC's playlist - volup to increase the volume by one increment (of 32) - volup to decrease the volume by one increment (of 32) - volmax to put VLC's volume at its maximum level (use with care) - mute to toggle mute - delayup to increase audio delay by 50ms - delaydown to decrease audio delay by 50ms - subs to toggle through the available subtitles - quit to quit VLC Download: Packal: TBA
  10. Hello, My first look at Alfred. Excited about the Workflow. But how would I loop through all files in a directory, launch an app to process them, log that a file has been processed, and append the result to an output file? Or is this logic beyond Alfre? Thanks. Daks
  11. When designing or developing I regularly need some fake data : a name, an email address, a credit card number, some dummy text, etc. I used the wonderful Faker package by Francois Zaninotto to create an Alfred workflow for those moments when I quickly need some fake data. Check out my blog post to download the workflow and to learn how to use it : I hope this will be of use.
  12. This workflow will take a set of PNG or JPG files and compress them using the online TinyPNG service. For more info on what it does to the image, see Usage: This workflow works as either a File Action or a regular keyword process. Either: 1) Select the PNG or JPG files you want processed (in Finder or Alfred), then select the "Compress with TinyPNG" File Action in Alfred. 2) Select the PNG or JPG files you want processed in Finder, launch Alfred, then use the “tinypng" keyword. The processed files will be downloaded to a TinyPNG folder on your Desktop, along with a Report showing the success/failure of each file, and how much it has been compressed by. The process may take some time, especially if you have selected several large image files, but you will notified on completion. However, if you have Growl/growlnotify installed, you will get a per-file notification as it progresses. A Note on Heavy Usage: The TinyPNG API has a limit of 500 files per month. As you can imagine, once a few people are using the workflow substantially, this doesn't take long to reach. I have provided a default API key built-in so you can use the workflow immediately. However, if you intend to continue using it in any substantial capacity I strongly suggest you visit and register for your own API key. You can jump there with the keyword “tinypng_getkey” in Alfred. Once you’ve got your key, save it into the workflow configuration with the keyword “tinypng_config” Download v1.3 Cheers, Carl ---- 28 November 2013 - updated to v1.1 Updated to use the new API Now works as a regular Alfred keyword (with Finder selection) as well as File Action 19 March 2014 - updated to v1.2 Now gives better error reporting on failures. (You’ll be able to tell if the monthly limit has been exceeded.) Consolidated processing to a single bash script. The Finder Selection script now just parses the input and sends it to the main script. (Irrelevant to user experience.) User can enter their own API key to prevent reaching the Free account limit when using a shared key. Updated icons (from 6 October 2015 - updated to v1.3 Now supports JPG files as well.
  13. Hello! I did search the forums here, but I didn't find what I was looking for. I apologize if this has been answered elsewhere. Please link me if that is the case. I'm looking to run a workflow, have it wait on a step for user input, and then resume once input has been received. More specifically - My workflow opens up terminal and ssh's to another computer. I need to enter a password. Once this step is complete THEN I would like the remainder of the workflow to run. Thank you in advance for any help that you can give on this. Cheers!
  14. Alfred 2 Top Process Workflow The initial motive of this workflow is to avoid frequent visits to the Activity Monitor when the fan goes loud. Now it has been evolved with two major features: Suggestions are welcome. And Please go to for better view of the installation instruction. - 1) List/Kill Top Processes by Memory/CPU/IO Usage - 2) (working in progress) Get a glance of system status including internal battery, fan speed, CPU/GPU Temperature, bluetooth battery, disk capacity, etc. Usage 0. Show Help Just type -?, -h, or --help after the keyword to show help. 1. Top Processes A. Keywords: 1.) top: Show a mixed processes list based on top cpu/memory usage. 1. top -m, top --memory to show processes ranked by memory usage 2. top -c, top --cpu, to show processes ranked by cpu usage 3. top -i, top --io, to show processes ranked by io usage with callback from top io trace collector. Top IO requires [DTrace][Dtrace] and it would take a while to finish. The new callback design is to run the job in he background and post a notification (OSX 10.8+) using notification center. Click on the notification to show the result in alfred. Modifier Key - none : The default action is to list files opened by process ID - control : Kill the selected process - command : kill forcefully (kill -9) - alt : Nice (lower) the selected process's cpu priority - shift : Search web for process information 2.) kill: Filter process to kill. Modifier Key - none: The default action is to kill by process ID - command : kill forcefully (kill -9) 3.) lsof: List files opened by process id Modifier Key - none: The default action is to reveal file in Finder B. Filter by Query 1.) To search for process state, use :idle, :sleep, :stopped, :zombie, :uninterruptible, :runnable, etc. 2. Glance an Eye on your system #### A. Keywords: glance: Show system information including internal battery, bluetooth battery, disk capacity, etc. B. Change Display Order Activate Alfred Preferences → Advanced → Top Result Keyword Latching Hit Enter for the feedback item you wish to show up on the top. Installation Two ways are provided: You can download the Top Processes.alfredworkflow and import to Alfred 2. This method is suitable forregular users. You can git clone or fork this repository and use rake install and rake uninstall to install. Check rake -T for available tasks. This method create a symlink to the alfred workflow directory: "~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows". This method is suitable fordevelopers. Troubleshooting 1. Does not work in Mac OSX 10.9 (Maverick) In OSX 10.9, the system ruby is upgraded to 2.0.0. You need to download the new version of this workflow which packs the ruby gems for 2.0.0 inside. If the downloaded version does not work, try 1.) open If you use rvm or rbenv, switch to the system ruby. run cd "$HOME/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/" && rake bundle:update 2. iotop causes mouse lagging This issue is not caused by this workflow but by [DTrace][DTrace]. The related system log message is IOHIDSystem cursor update overdue. Resending.. In my Macbook Pro, any [DTrace][DTrace] based program will introduce this issue including the mac built-in /usr/bin/iotop, and /Applications/ . I upgrade to OS X 10.9 and this issue is resolved. 3. Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8 Add the following contents to /etc/launchd.conf. Restart is required. setenv LANG en_US.UTF-8 setenv LC_ALL en_US.UTF-8
  15. Hi, I am a photographer using adobe photoshop, lightroom, and bridge. This is my first day using Alfred, so please pardon my ignorance. I have just created my first workflow with hot keys to open these three applications. I do not see any available action to also close or minimize these applications. Is there a way to do this? Thanks, -Zach
  16. A simple workflow to toggle the TripMode filter on or off. TripMode allows you to specify which applications are allowed to use your data connection. Download: Usage: tm - Toggles TripMode on or off
  17. Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity) Usage: enter the keyword "battery" Tested on: Mountain Lion, MacBook Pro Download: from here
  18. Hello, I didn't see a workflow for a VPN service client I use called Private Internet Access. So I decided to give it a try. I'm not sure if there are many people that use this service but I just wanted to share a simple workflow that connects and disconnects the VPN connection using Alfred. Here's the code/instructions/download: Start Demo: Stop Demo: Thanks, Sean
  19. Hello everyone, I'm using Alfred at work for different paths on the Server. I'm doing so via a List Filter that contains all the Paths and passes them to the Action "Browse Alfred". The Paths look something like this: "/Volumes/pub/fdw/Project/ProjectNumber/ProjectNumberstuff/3_Electric/03_Konstruction/04_Presentations/" What I'd like to do is that i browse that path like this: "/Volumes/pub/fdw/Project/ProjectNumber/ProjectNumberstuff/3_Electric/03_Konstruction/04_Presentations/*1110" I can create the "*1110" or only "1110" which would be enough via another List Filter selection, but Alfred cannot browse that Folder as it doesn't exist in that way. Does anyone have another solution. P.S.: @Andrew It would be really nice if you could add a way to filder the List Filter in Alfred as its hard to find something with a lot of items. Cheers, Frozen
  20. ALFRED TODOIST WORKFLOW v3.1.4 Hi! I wrote this workflow mainly because I was annoyed with todoist quick-add feature not having support for natural language date strings. It didn't seem like any of the other workflows had that either. Perhaps some of the other cross alfred-todoist users like this workflow. Add tasks to your Todoist inbox or list upcoming tasks straight from Alfred. I nicked the idea from Ruben Schmidtmann'stodoist-alfred-workflow, and further expanded on it. It uses Todoist v6 API. The task listing feature relies on javascript (sorry no PHP, perl of ruby foo) which means it works from Yosemite and up. The task adding feature should work on any Mac OSX version. Installation Download from Github and import workflow. Or Download from Packal and import workflow COMMAND t Some magic will happen when you run the t command, like creation of files and refreshing of todoist data cache. Other than that use it to configure the workflow. One Time Config t:token {api token} (no default) Example: t:token 2d2e2a334c5f36e7a7c43b46e t:language {language} (default: en) Example: t:language nl t:items {max list items} (default: 9) Example: t:items 9 Token* Your Todoist api token, get it from Todoist Preferences => Account => API-token (should be 40 characters) Language This is relevant for parsing date strings ('tomorrow @ 9pm', in en). Valid languages are: en, da, pl, zh, ko, de,pt, ja, it, fr, sv, ru, es, nl. Max List Items This parameter limits the amount of tasks shown when using the todo command. Node.js is required for listing todos Node.js Node.js is required for listing todo's. Working with JSON API's in batch is no fun and the JavaScript force is strong in my, yet none of the other forces (ruby, PHP, python etc.) are. If you decide you want this feature there is an install function included. This will install Node.js as well as a package manager called Homebrew to install Node (all other ways of installing node require admin permissions or leave files on your computer). This has the added benefit of making it easy to uninstall as well. Example: t:nodejs => ENTER Uninstall Node (terminal): brew uninstall node Uninstall Homebrew (terminal): ruby -e "$(curl -fsSL" * Required COMMAND todo Add a task todo {task}, {date}, {project} {priority} and {labels} can go anywhere Example: todo Get stuff done, tomorrow @ 9, work Example: todo Build tree house, tomorrow @ 9, home !!2 Example: _todo Get milk, tomorrow @ 9, home @on_road @5min Task Can be any string as long as there are no comma's in it. Markdown in the string will be parsed, but anything else won't. Date See the Todoist documentation for supported date formats. Project* Add task to an existing project. If no project is selected the task will be added to your inbox. Labels* You can now add labels to your tasks. Any string that has a @ before it will be checked against your existing labels. If it matches (case insensitive) the label will be added. The labels can be added anywhere in the todo command so these are all valid: Example: todo Get stuff done, tomorrow @ 9, work @delayed Example: todo Get stuff done , tomorrow @ 9 @delayed, work Example: todo Get stuff done @delayed, tomorrow @ 9, work @delayed Priority A number between 1 and 4, where 1 is the lowest and 4 would be the highest priority. The priority tags can be added anywhere in the todo command so these are all valid: Example: todo Get stuff done, tomorrow @ 9, work !!2 Example: todo Get stuff done , tomorrow @ 9 !!2, work Example: todo Get stuff done !!2, tomorrow @ 9, work * Relies on node.js to work Hacks Use a comma to separate the parameters, leading or trailing whitespace is ignored. If you wish to change the delimiter with which the parameters (task, date and priority) are separated, you'll need to change a line in the bash script. For instance if you'd like to use ';' as a delimiter, change: IFS=',' read -r -a items <<< "$query" to: IFS=':' read -r -a items <<< "$query" COMMAND todos List tasks (and mark done) todos (+ navigate and hit ENTER) Search tasks (and mark done) todos + {query} (+ navigate and hit ENTER) Query Any search query one character or longer. Uses fuzzy search to find the tasks. Example: todos car => finds (because of fuzzy search): Rent car New cat recipe's Cut Gras tomorrow Changelog View
  21. Hi everybody, I've created a simple but (i hope) useful currency converter; this workflow support simple and complex queries like: currency € -- Current EUR/USD exchange currency € £ -- Current EUR/GBP exchange currency 12 € -- Convert 12 EUR to USD currency 12€ £ -- Convert 12 EUR to GBP currency 12 € £ -- Convert 12 EUR to GBP currency 12 EUR £ -- Convert 12 EUR to GBP currency 12 EUR to £ -- Convert 12 EUR to GBP currency from 12 € to GBP -- Convert 12 EUR to GBP currency to GBP from 3€ -- Convert 3 EUR to GBP currency to GBP 3€ -- Convert 3 EUR to GBP Here the github repository: And the .alfredworkflow direct download link:
  22. Hello! I'm writing a workflow based on a file action, and at one point in there, I would like to use the replace / regex function to extract just the filename, without the full path or the extension. I've tried googling and trying a bunch of options, but I haven't had the time to fully ingest Regex properly yet, and nothing I've found has worked. Anyone care to help me out? :-D Here's an example of a full path I'm working with: ~/Desktop/ I would like to just extract "Testing". I hope one day I can look back at how silly it was to ask such a basic question like this. Thanks so much in advance!
  23. I developed a fairly robust workflow for Asana. Its main purpose is to allow for the fastest possible adding of tasks. You can read more about it and the instructions for its use on my site: And you can download the workflow here: There are also instructions in the workflow Readme. It has fairly comprehensive error handling, but if you find any bugs, please let me know! Credit to David Ferguson for his workflow PHP class, without which I probably couldn't have pulled this off.
  24. Since getting the AirPods, I wanted to be able to switch between them and the default audio device(s) with Alfred. And I wanted to change both the input and output devices to the AirPods and back. e.g. avoiding the state of input = Built-in Microphone, while output = AirPods. Usage is pretty simple with the default being to enable the AirPods: airpods or airpods on or airpods blah and to disable the AirPods or revert back: airpods off More detailed setup and configuration as well as dependencies and code are here:
  25. Stream from a selection of short films, powered by Short of the Week. Run shorts and it’ll download and show a list of the latest films. Pick one and it’ll start streaming. Alternatively, use ⌘ to copy its link to the clipboard. Short of the Week publishes a new short every day and building the initial list takes a few seconds, so after the initial download the list is cached for one day. If you want the list ready at all times without having to wait, run :shortfilmslaunchd to install (or later remove, running the same command) a launchd service to seamlessly update the list every day close to the time Short of the Week updates their website. Streaming is done with either mpv or vlc, depending on what you have (mpv takes precedence). For mpv, youtube-dl is a requirement; use the youtube_dl_path Workflow Environment Variable to set its path, if needed. Download | Source License The Unlicense (Public Domain, essentially)