Jump to content

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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 686 results

  1. Here's a quick little workflow to restart Alfred and his preferences (if they're open). Download (v1.0.2): GitHub Keyword: restart
  2. Share music links the right way with your friends. With song.link it doesn't matter which music service your friends are using. When you share a song or album and if your friends (or enemies) are using another music service than you, they'll get a function link to their service. You'll find the latest relase at github. Happy music link sharing. /Lari Edit: Removed packal.org link.
  3. Add to and view your Pinboard bookmarks. pa opens Pinboard’s “add bookmark” page in your frontmost browser. You can submit bookmarks with ↵ or dismiss the window with ⎋. If you have the PinPlus app installed (get it with :pinplusupdateapp), that opens instead. Configure the Hotkey Trigger to add your current browser tab as an unread bookmark. pin and pun are similar. The former shows all your bookmarks (type to filter), while the latter shows only the unread ones. In each case: ↵ opens the bookmark in your default web browser. ⇧↵ opens the bookmark in Pinboard’s website, so you can edit it at will. ⌥↵ copies the bookmark’s URL to your clipboard. ⌘↵ downloads the video on the page, if any. It requires DownVid and will automatically add to WatchList if available) fn shows the bookmark’s description. ⌃ shows the bookmark’s tags. Unread bookmarks suffer an extra event when acted upon, depending on the unread_action Workflow Environment Variable. archive will mark the bookmark as read and delete will remove it from your account. Any other value (including none) will leave it untouched. The unread_order Workflow Environment Variable affects the display of pun. Valid options are oldest_first and newest_first, defaulting to the latter. :pinpluslaunchd will install (or later remove, running the same command) a launchd service to seamlessly fetch bookmarks every hour. Bookmarks are auto-updated in accordance to the requirements of the Pinboard API. :pinplusforceupdate will force an update, but should be avoided. The minutes_between_checks Workflow Environment Variable defaults to 10. If you ever need to update your Pinboard API token, call :pinplusresetapitoken. Download | Source
  4. Upload to a myriad of file hosts 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. You can change the upload host in the upload_file_to Workflow Environment Variable. By default it uses transfer.sh. Other supported hosts are: bayfiles.com, anonfile.com, megaupload.nz, and forumfiles.com. Donwload | Source
  5. Hi, I have a calculation I have to make a lot. {query}+({query}/0.971) How would I set this up in a workflow (so I can make calculations quicker than the normal calculator)? Thanks in advance!
  6. Overview here, with the latest release you can install here. Summary of the current features (6-30-19): You can search for title and author using the keyword search (default is "ib"). You can also use options as follows (in the format "ib -a" for each option, respectively): -a search by author only -t search by title only -g search by genre only -h get available options for using this workflow By default, if a title doesn't have a genre, Alfred Books won't be able to search for it. While searching, you can press ⌘L to see some metadata about the selected title; this includes: title and author, genre, percentage read, description While searching, pressing ⇧ (shift) on a selected title will attempt to show a cover and the actual filename. While searching, pressing your action button (one of the following: → (right arrow), fn, ctrl, ⇥ (tab)) will allow you to act directly on the Books file. Be cautious here, as modifying the file from this interface may cause inconsistencies with the Books sqlite database, causing you to need to modify the actual sqlite database if you say modify or delete a file here. This software (currently) only searches for downloaded books by confirming an accessible path to said file in the Books sqlite database. If they're on iCloud and not downloaded, they won't show up in Alfred Books! If you have any issues whatsoever using this software, or if you have recommendations for features, please visit: https://github.com/codycodes/alfred-books/issues
  7. I wrote a workflow in ruby to convert currency. Requires Alfred v3. Notice: The Old versions(v1.2-) api has been out of service at June 5, 2018. Please update to v1.3+ to keep using currency conversion feature. Github Download Features: Support 30+ currency units with fixer.io. Basic support for sign. e.g.,$,¥,£,etc. Customizable displayed currency units and base unit. Input once to get all result. Usage: Tap 'cy' to get latest exchange rates. Tap 'cy money' to get exchanged result. You can press enter to send the result to the clipboard. Tap 'add-cy', 'remove-cy' to customize displayed currency units. Tap 'base-cy' to set base currency unit. Hope you like it.
  8. ALFRED TODOIST WORKFLOW Add and search Todoist tasks straight from Alfred. It uses Todoist v8 REST API. Getting started For this workflow to work you need version 3.x of Alfred and a powerpack licence. Node.js Installation Download and import workflow. Configuration Name Notation Explanation token ^[0-9a-fA-F]{40}$ (default empty) The todoist API token. language en, da, pl, zh, ko, de, pt, ja, it, fr, sv, ru, es, nl(default en) The language for natural language date processing (by todoist) and to calculate time to complete a task. cache_timeout A positive number (default 3600, an hour) The time (in seconds) until the cache is refreshed (until that time todoist information is stored locally to make things a little faster) anonymous_statistics true or false (default true) Doesn't do much at the moment but I intent to use it to track installs todo:setting token {api token} Example: todo:setting token 2d2e2a334c5f36e7a7c43b46e todo:setting language {language} Example: todo:setting language nl todo:setting cache_timeout {time in seconds} Example: todo:setting cache_timeout 13 todo:setting anonymous_statistics {true or false} Example: todo:setting anonymous_statistics false Usage Name Notation Explanation task Any text except , The task title. date A date string See the Todoist documentation for supported date formats. project Either #personal or #[next actions] Use either the hashtag notation or bracket notation if the project name has spaces in it. The project name is case insensitive. label @label Label names can't contain any whitespace characters. Labels are case insensitive. priority Either p2 or !!2 A value between 1 (urgent) and 4 (normal) Search for tasks todos {query} Query Any search query one character or longer. Uses fuzzy search to find the tasks. Example: todos car => returns (because of fuzzy search): Rent car New cat recipe's Cut Gras tomorrow Create task todo {task}, {date} Example: todo Get things done, tomorrow @ 9 Example: todo Build tree house #home !!2 @15min, tomorrow @ 9 Changelog View CHANGELOG.md Contributing Instructions - Fork and clone the repo - Install dependacies - Symlink to project workflow folder git clone https://github.com/YOUR-USERNAME/alfred-worflow-todoist npm install npm run setup:dev Build Create a new build with npm run build Run tests Run Jest test suite with: npm run test npm run test:prod Or run a watcher with npm run test:watch Commits For commits I follow the angular commit guidelines and use semantic release to automate builds, semver version updates and changelog creation. The way to make sure this all works is to run: npm run commit Which guides you through the motions Code of conduct code-of-conduct.md License License MIT © Martien Oranje
  9. I create a workflow for searching mail from Outlook for Mac V16 (A.K.A. 2016). Now it support searching Mail sender, Subject and Preview Content with below format: olk [keyword] And also you can search with multiple keywords: olk [keyword1] [keyword2] [keyword3] To limit search scope in one attribute: olk from:[keyword] olk title:[keywords1] [keywords2] ... By default, this workflow searches mail from all folders and with default page size 20, for results more than 20, you can click last item 'Next 20 Results...' to go to next page. You can also configure the search: olkc pagesize [number] for change search result in one result list. olkc folder then you can get a list of all your Outlook folders, choose one to limit search scope. Project hosted in Github: https://github.com/xeric/alfred-outlook Download latest release workflow file from: https://github.com/xeric/alfred-outlook/releases Welcome your feedbacks!
  10. Use btt to view and toggle bluetooth status and its menu bar visibility. btd will show your paired devices. Action them to toggle their connection status Download | Source
  11. List the contents of a directory and act on them. Call the workflow with rdn to sort from the most recently modified, rdo for the reverse; rda to sort from the most recently added, rdz for the reverse. To act on the selections, use the standard Alfred shortcuts. You can activate file actions, dive into directories, preview files, add them to the file buffer — whatever you want to do that is supported by Alfred. ⌥↵ opens the selection in Finder, while ⇧↵ clears the cache for rda and rdz. By default the Workflow looks in ~/Downloads. Change the value in the downloads_dir Workflow Environment Variable to use a different path, relative to your home directory. Download | Source
  12. I'm looking for a workflow that will search raindrop.io for bookmarks. I've gone to raindrop since my browser (Brave) was making a mess of my bookmarks sort every time I thought I got it straightened out. I think it may have something to do with the way it syncs bookmarks. Raindrop has both a mac app and a browser version in case that makes a difference to what's possible. Thanks.
  13. Download media from a plethora of sources, even when embedded in other pages. Copy a link to your clipboard, run dv, and you’re done. The workflow will show you a notification when it starts downloading and another when finished. If you have WatchList you’ll see an option to automatically add the downloaded video to your watchlist. Run any option with the ⌘ modifier, and the full playlist will be downloaded. To see the download progress, run dvp. It will auto-refresh the progress. Actioning it with the ⌘ modifier will restart the current download (adding it to the back of the queue), while actioning with ⌃ will abort the current download. You can also run :downvidservices to install (or later remove, running the same command) DownVid actions to macOS Services. What this means is wherever you find a URL, you’ll be able to right click it and start the download right from the context menu. The Workflow Environment Variables represent the directories where videos will download to, as well as the audio format to save when that option is picked. Download | Source If on Alfred 3, download this one. Works well with WatchList
  14. 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: http://mannieschumpert.com/quicktask/ And you can download the workflow here: http://bit.ly/1afnipH 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.
  15. Mavericks Tags - File and Email Tagging with Alfred 2 Features Show tags of a file/folder or email Add/Remove tags of a file/folder or email Search files/folders or emails with a specific tag Show list of available tags Installation Download and import into Alfred 2. Usage File Action The Mavericks Tags workflow is available as Alfred File Action: Hotkeys ⌃⌥T - Show tags of selected file in Finder ⌃⌥M - Show tags of selected email in Apple Mail Select "Add Tag" and ENTER a tag name to add it as new tag to the file/folder/email or select one of the existing tags and press ENTER to remove the selected tag from the file/folder/email. Keywords .tagged [tag name] - Search files/folder with tag .taggedmail [tag name] - Search emails with tag .taglist [tag name] - Show list of all available tags Credits Credit for the included command line utility go to jdberry. The icons are from the Windows8/Metro Icon Pack by Visual Pharm. Changes 1.4 [2014-03-01]"Manage Tags" file action now supports multiple file from Alfred's file buffer 1.3 [2013-12-16]".taglist" command now uses mdfind to query all tags instead of the unreliable Finder plist 1.2 [2013-12-10]new keyword ".taglist" to show list of all available tags renamed ".mtagged" keyword to ".taggedmail" 1.1 [2013-11-25]support for tagging emails chnaged icons
  16. IMPORTANT NOTE ABOUT HANGING PROCESSES ON SIERRA (2017-04-03) Versions of Alfred-Workflow older than 1.25 cannot launch background processes properly on Sierra. In fact, they regularly hang quite dramatically and consume 100% CPU Users (in particular) affected by this bug should install and run this workflow, which can find and fix any workflows with broken versions of Alfred-Workflow. The workflow library for Python GitHub | Documentation A feature-rich library for developing Alfred workflows in Python The library is simple to install, has no external dependencies, is very well-documented and maintained, and boasts an eye-wateringly high feature-to-size ratio at under 400 KB. It is the only Python library that is always up-to-date with Alfred's features. Main features Supports all Alfred features from 2.0 to 3.6. Catches, logs and notifies users (and developers) of errors in Workflows. No more confusing, silent failure. Super-simple, yet powerful data caching (e.g. from a web service) and storage, including session-scoped data. Easy-to-use Workflow settings API. Supports Alfred's AppleScript API, including saving settings to info.plist and calling External Triggers. Keychain access for secure storage (and cross-machine syncing) of sensitive data, like passwords and API keys. Tunable and understandable Alfred-like fuzzy search (e.g. got matches Game of Thrones as well as Baby Got Back. Or not: that's up to you.) Extremely lightweight, but full-featured, HTTP library with Requests-like interface, but just 12 KB instead of > 2 MB. Convenient access to standard macOS icons, for high-quality, familiar icons without adding size to the library. Also available via proper English. Pre-configured, built-in logging to enable simpler Workflow debugging. Painlessly run (update) scripts in the background without blocking your workflow, so you can still show "old" results while fetching new ones. API for running AppleScript/JXA scripts. Simple support for 3rd-party libraries your Workflow relies on. "Magic" arguments to make developing/debugging Workflows so much easier, especially when helping less technically-inclined users. With "magic" arguments, you and your Workflow's users can open the Workflow's log file in Console.app, its cache and data directories in Finder, and its root directory in Finder or Terminal from the comfort of Alfred's query box. You can also delete the cache/data/settings if something is corrupted. Your workflow can update itself via GitHub releases. Smart handling of non-ASCII. Query sale will match result salé, but query salé will not match result sale. Functions to support migrating settings/data from older versions of your workflow. Alfred 3-only features Workflow variables Advanced modifiers Alfred 3-only updates Re-run Script Filters And as you can see from the above links, there is extensive documentation, including a two-part tutorial on building a Workflow from scratch. Examples Here are a few examples of how you can do some pretty cools stuff in just a few lines of code. A simple Workflow I made to search Packal in ~90 lines of code. A simple Workflow to search your recent Pinboard posts in ~50 lines of code. A polished, user-friendly, wicked-fast Workflow to search your recent Pinboard posts in ~200 lines of code. Remember, each of these Workflows also has—for free—full error-catching and -logging support, and the ability to open its log file (which contains all errors) via Alfred's query box. No need to ask users to grub around in ~/Library or flounder in Terminal here. This is not the Workflow library 2014 deserves, but it's the one it needs Feedback If you have any bug reports/feature requests, add them either here or on GitHub. More info The documentation is the definitive source of information on the Alfred-Workflow library. The User Guide and Tutorial provide fairly extensive information both on how to use Alfred-Workflow and write Workflows in general (if you're new to this lark).
  17. I removed Flash from my system long ago but occasionally I need to make use of the version bundled with Chrome to view certain web pages properly. There are a few workflows like this around, but as the only browsers I use are Safari and Chrome I wanted something a little more direct than Send URL which led me to this alternative made by Runar. There were a few issues with that workflow, so I made a version which (hopefully) deals with everything in a tidy and intelligent manner. If Safari is either not open, or has no windows open, the workflow will post a notification saying so. If you'd like it to also post notifications when URLs are successfully sent to Chrome open the workflow folder (right click the workflow in Alfred and click Show in Finder) and edit the appropriate line in open_in_chrome.scpt (it's clearly marked). The reverse behaviour is also available (i.e.: sending URLs from Chrome to Safari). Hat tip to Carlos-Sz for getting Alfred to run the Applescript properly 🙂 Download (v1.0.2): Open in Chrome GitHub Keywords: openinchrome, openinsafari
  18. Keep a list of audiovisual content to watch and listen to. We often have series of videos and streams that we’d like to watch but not necessarily keep after, but tracking which we’ve already seen (and are thus safe to delete) can be a chore. Select in the Finder the files or directories you wish to add to your list and apply the file action Add to watchlist. If the move_on_add Workflow Environment Variable is set, the items will be moved to that directory (relative to your home). Items will be prepended or appended to the list, depending on the add_item_order Workflow Environment Variable. Alternatively, call swl to add the URL in your clipboard as a stream (add ⌘ for the full playlist). You then have some options you can pick from, all starting with wl. wlp shows the list of items you can play. A reference to each subtitle section can be found at the end. wls calls wlp under the hood, but lets you first select a sort order. In both cases, ↵ plays the selection. Add ⌃ to play without marking as watched or ⌥ to rescan a directory (useful if you made manual changes to it). ⌘↵ will mark as watched without playing. ⇧ or ⌘Y shows a quicklook preview on files and streams. If the top_on_play Workflow Environment Variable is set to true, the item will be moved to the top of the list before starting playback. Items starting with ≈ are streams. They show no file size (since they aren’t taking up any space locally) and present the link they were taken from as opposed to a location on disk. To play a stream you need mpv, IINA, or VLC. An item will never be marked as watched if we can access the player’s CLI and it exits with a failure exit code. wlu shows the list of watched items. The limit of recent items in this list is controlled by the maximum_watched Workflow Environment Variable. Action an item to mark it as unwatched. Note that in the case of files it does not recover them from the trash, as there is no reliable way to do so on macOS — that step you need to do yourself. If the item has a URL origin (you’ll see it in the subtitle) add ⌘ to open the URL in your default browser or ⌥ to copy it to the clipboard. If the item has an origin URL, ⇧ or ⌘Y shows a quicklook preview. wle allows you to reorder, rename, and remove items from the list. To keep your lists synced between machines, use the lists_dir Workflow Environment Variable to pick a custom save location. Finally, if you use DownVid it has an option to add the downloaded video files directly to your watchlist. Subtitle reference: There are three types of items: files, series, and streams. streams can be further categorised into single item or playlist. Each result has its name as the top title. The subtitle confers more detailed information and follows this template (~ means it never shows): ≈ (4) ? 22m 32s ? 691M ? /Some/Path ≈. Indicates item is a stream. file: ~ series: ~ stream: Always present. (4). Number of elements. file: ~ series: Remaining audiovisual files in directory. stream: Single item: ~. Playlist: All elements. 22m 32s. Running time. file: Running time of file. series: Running time of first audiovisual file in directory. stream: Combined running time of all elements. 691M. Size. file: Size of file. series: Size of first audiovisual file in directory. stream: ~ /Some/Path. Path. file: Path of file. series: Path of directory. stream: URL. Download | Source Works well with DownVid
  19. Run browser bookmarklets from Alfred, without needing to having them installed in the browser itself. Note that you may need to Allow JavaScript from Apple Events in your Browser. 1 For the first step, get this template workflow itself. Though this is not strictly necessary (you can build it yourself) it serves as a starting point with most of the work already done. Proceed to open the workflow in Alfred. Next, get a browser bookmarklet to convert by copying its link address. 2 Run :cleanbookmarkletcode to clean the code in your clipboard. It performs substitutions necessary to avoid problems when pasting the code in the next step. 3 Open the Arg and Vars node and paste the code. Extra If you’re not new to Alfred, you likely won’t need these steps as you’ll know what to do. 4 The template includes both a Keyword and a Hotkey nodes to run the code. You can delete either one by clicking on it and pressing ⌫. 5 If you choose to use the workflow via Keyword, do not forget to set it up. 6 Lastly, edit the workflow’s details and its icon. For completeness it’s pre-filled with my details. Feel free to edit them. Download | Source
  20. I want to copy something like wp-content/plugins/event-tickets/tests/restv1/TicketNotAccessibleCest.php and convert it to codecept run tests/restv1/TicketNotAccessibleCest.php and paste it the "event-tickets" part is variable, which is why I used regex to match \w When I run with debugging on, it's like the Clipboard (what I think should be {query}) is blank. Screenshot: https://cl.ly/120d35b1fd91 Is that a bug or an error in my workflow? Workflow is here: https://cl.ly/005392a2a9cd Thanks for helping!
  21. Call nf followed by a file name (if you don’t give it an extension, it’ll be .txt) to make a new file. If you type nfo instead the files will open after creation. If you have a Finder or Path Finder window as your frontmost window, the file will be created there, otherwise it will be created on your Desktop. Download | Source
  22. Hi supporters, I’d like to share a workflow which lets you open a new AirDrop window in Finder by typing "airdrop". Get the workflow here: download Please also find the source code on Github. Cheers, Paul Credits: based on an Alfred 1.x extension by @Johnathan1707.
  23. To run just type "rapp" in Alfred bar and select the application you wish to restart. More info and download v1.1: Inline app search (courtesy of Carlos-Sz)
  24. I want to run a workflow when something is getting copied into the clipboard. If the clipboard content matches a certain pattern I want to open a URL. Is this possible at all? To me it seems I need a keyboard trigger that then inspects the clipboard. Which isn't quite as automated as I wished. cheers, Torsten
  25. I've put an Alfred workflow for TaskPaper 3 up at packal and github. The page includes a download link, full instructions and an image. Please give it a go. There is a is another discussion thread on the TaskPaper forum. The commands are briefly: Keywords: - d:setdoc - configure the TaskPapar document - d:choosedoc - configure the TaskPaper document via a dialogue box - d:help - show a brief summary of commands and settings - d:setremind - view, change or disable the reminder search - do - open the workflow’s TaskPaper document - do <task> - create a new task - domail - create tasks from emails selected in Apple’s Mail app - dos - search for and then select an item. Use modifiers cmd to toggle @done and shift to toggle @today tags - dop - search for and then focus on a project - doss - select and apply a search saved from the document - dot - search for and then append a tag to any current search. Use the modifier cmd-return to instead clear the search before appending the tag - dopr - open resources associated with a project or to add a folder or alias resource if none exist - dosn - show (expand) all notes - dohn - hide (collapse) all notes Modifiers: - none - operate on a project - ⌘ - operate on the Inbox - ⇧ - operate on the Stack - ⌥ - operate on the Reading List project The source is on github and the code behind the scenes is written using JXA. Please let me know if you run into troubles or have suggestions. --- Rob
  • Create New...