Search the Community

Showing results for tags 'workflow'.



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

  1. Hi, every time I want to translate a word, I have to open browser and type in 'translate to [language]', is there a way that I can type the word into Alfred and get the result straight? Thanks.
  2. 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. -- Alfred-Workflow (for Python) GitHub | Documentation A state-of-the-art Python library for Workflow developers. Being about a year late to the party, I've taken the opportunity to steal all the best ideas from other libraries and circumnavigate the bad ones, combining a plentitude of goodness into a library for the best language for Workflows (Python, natch). 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 just 140 KB. Main features 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. Easy-to-use storage of Workflow settings. 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.) Now with solid support for multi-word queries. Extremely lightweight, but full-featured, HTTP library with Requests-like interface, but just 12 KB instead of > 2 MB. Convenient access to standard OS X 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. Supports Alfred's new (version 2.3) modifier-specific subtitles. 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. Accent-folding, so you can search non-ASCII text (e.g. voilà will be matched by voila) Functions to support migrating settings/data from older versions of your workflow. Well supported and kept up-to-date with Alfred's features as they are added. 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 Selected workflows based on Alfred-Workflow ZotQuery, by Stephen Margheim, and one of the hottest Workflows on the forum. Gmail Client for Alfred by Fabio Niephaus. See the forum thread. Convert by me. Convert between units offline. See the forum thread. And dozens more. Testimonials — me — Stephen * = might be taken a wee bit out of context 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 Manual 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).
  3. Sorry, I am Chinese and my english is poor, hope u guys can understand....... This is a workflow which can search Fifa 17 Utilmate Usage: 1. Futhead [playerName] In this situation, select one item, will go to Safari open the Futhead page of this player 2. Futhead [playerName] [playerRating] or Futhead [playerName] [playerRating] [def\sho\dri\phy\pas] In this two situations, select one item, will paste to your clipboard, such as Cristiano Ronaldo's Sprint Speed is 98 ummm... I think u guys need to look the Images to understand what I am saying.......sorry here is where u can download https://github.com/Creolophus/FutHeadWorkFlow This workflow can run on Alfred 2, Alfred 3 should also can run but i haven't test
  4. Provides both a File Action to run shell commands on selected files/directories and a Keyword to run them on the current directory. It will detect your default shell, and if it’s bash, zsh, tcsh, csh, or fish, it’ll load the appropriate startup files and your aliases. For the File Action, use Alfred to pick what you want to run a command on and choose Run command. Alfred’s main window will appear and you simply type the command you want. For the Keyword, type . followed by a command. A space between the period and the command is not necessary. This will run the command on the active Finder window (e.g. .touch this_file). You can also easily chain commands (.cd Desktop && rm that_file). For commands that would benefit from the files not being at the end (like cp and mv), you can use {} as a placeholder for the files. So if you select some files and want to copy them to ~/Desktop/ you’d type cp {} ~/Desktop/. To get the output of the command as Large Type, use ⌘ when actioning it. Download | Source
  5. Upload to transfer.sh directly from Alfred. Pick paths to upload via the Upload file File Action. Directories and multiple paths will be zipped prior to upload. You can check your upload progress with ufp. It will auto-refresh the progress. Press ⌘↩ to cancel the transfer. You’ll get notifications of the various phases, with a sound when it’s complete (or canceled). The download URL will be copied to your clipboard. Donwload | Source
  6. Open your current Chrome tab in incognito mode or a new Chrome instance with an empty profile. The latter acts as if you were opening Chrome fro the first time without changing a single setting. That is particularly useful when a setting o plugin is making it difficult to use a page. Call it with ic, and it will open a new incognito window with your current tab. ⌘↩ will also close the tab in your current window. ⌥↩ opens the current tab in a new Chrome instance, and ⌃↩ also closes the tab in the current window. Download | Source
  7. Output info from videos from a plethora of video sources, even when embedded in other pages. Copy a link to your clipboard, run vidur and pick your verbosity level. It’ll output the video’s link with its duration and optionally its title and description. Download | Source
  8. Markdown to BBCode syntax conversion. The conversions it supports (I can add more via request) are: Bold → **example** Italic → *example* Bold and italic → ***example*** Horizontal rule → --- or - - - or * or * * with as many - or as you’d like, as long as they’re at least three Strike through → ~~example~~ Images that send to an external URL → [![](link_to_image)](link_to_website) Images → ![](link_to_image) URLs → [description](link_to_website) Quotes → start lines with > and a space Code blocks → triple backticks on one line, write code, triple backticks on another line to end; or indent lines with either fours spaces or a tab Inline code → with a backtick at the start and another at the end, by default it’ll convert the text to a monospaced font with grey background Differently sized headers → start lines with # or ## or ###, and a space. End them with any number (including none) of spaces and # characters Unordered lists → precede items with + or * or -, and a space Ordered lists → precede items with a number, a period, and a space Footnotes → [^1] (where 1 is any number) anywhere in your text, and again at the end as [^1]: with the footnote’s text Changes that span multiple lines (code blocks and lists) should be preceded and followed by empty lines (except it they’re at the beginning or end of your text, in which case the extra empty line at the top or bottom, respectively, is not needed). All the code is in the script inside the Workflow — it’s one line per substitution and they’re all commented so you shouldn’t have much trouble changing anything you’d like to be handled a different way, even if you don’t understand regular expressions (you’ll mostly need to care about what’s on the right side of the commas). Download | Source
  9. Call bn with a website address and the Workflow will fetch the available logins with the corresponding success rate. If you had the login box selected prior to calling the Workflow, hit ↩ and it’ll automatically type the username, hit ⇥ and type the password. If for any reason that did not work or you just want one of the details, use ⌃↩ or ⌥↩ to copy the username or password (respectively) to your clipboard. Download | Source
  10. This workflow allows you to view, open and add Safari reading list items. Features: View all your reading list items (keyword: RL). Search for specific items: Entering "rl apple iphone" will return reading list items whose page title or URL contains both "apple" and "iphone". View (and search) only unread reading list items (keyword: RLU). Add new items to your reading list (using keyword RLADD or hotkeys). Open all unread items (keyword: RLALL). Direct download Packal page This workflow uses the awesome Alfred Objective-C framework. Updates: v1.1: Option to view only unread Reading List items (default keyword: RLU). v1.2: Option to add new items to your reading list (keyword: RLADD). If the currently active app is a browser (Safari, Webkit, Chrome, Canary and Chromium are currently supported), you can just press Enter to add the URL of its active tab. You can also add URL's by typing or pasting. The workflow uses AppleScript to add new reading list items, so it requires Safari to be running. However, if Safari wasn't running, the workflow will quit it after it's done. (If you had no open windows in Safari, you won't even notice anything). Additionally, the workflow checks if the URL you are trying to add is valid by trying to download the <head> element of the corresponding page. So if you are disconnected from the Internet, or the page you are trying to add is unreachable, the workflow will consider the URL as invalid and won't add it. To make it add that URL without checking it for validity, use the modifier key (⌃). v1.3: Option to open all reading list items (keyword: RLALL). v1.4: The open all feature has been modified to open only unread items. (You can still open all your reading list items (including the read ones) by pressing Option.) v1.4.1: Fixed a typo v1.4.2: Fixed yet another typo
  11. 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
  12. Play a round of table tennis against Alfred! Well, technically it’s more like playing against a pseudorandom number generator, but you’re doing so through Alfred. Call ping, to start a game, and hit Pong! to continue playing. If you Miss…, the game is over and your score is shown. You might also want to try TurnShoot, a two-player game. Download | Source
  13. Run browser bookmarklets from Alfred, without needing to having them installed in the browser itself. Note that on Safari, Safari Tehcnology Preview, and Webkit, you need to Allow JavaScript from Apple Events under the Develop menu, which you can enable under the Advanced tab on the browser’s preferences. 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
  14. If you regularly need to set the same files or directory structures somewhere, say a set of prebuilt scripts and template files for certain types of regular projects, this workflow is meant to make your life easier. It can take files, directory structures, and even URLs, and set them up as templates that’ll be copied over to your frontmost Finder window (if you’re using Path Finder, it will be used instead). Files and directory structures will be saved with the workflow (so they sync across devices), and urls will be downloaded when requested (so you always get the latest version). If you have a template that consists of a directory, you can place inside it an executable script with the name starting as _templatesmanagerscript. (the extension will be your pick), to be executed automatically after copying. It has a lot of options and you’ll likely use most of them, so I’ll fire through them succinctly: Add to TemplatesManager [File Action] — Add a file or directory to your local templates. tml (TemplatesManagerList) [Script Filter] — Show a list of your local templates. Type to sort with your query. Press ↩ to copy the selected one to your frontmost Finder window. tml (with ⌘) — If the selected template is a directory, instead of copying the directory itself, copy what’s inside it. tml (with ⌥) — Delete your template. tme (TemplatesManagerEdit) [Keyword] — Open the templates directory so you can add, remove, and edit them manually. rtml (RemoteTemplatesManagerList) [Script Filter] — Show a list of your remote templates (download name and url). Type to sort with your query. Press ↩ on the selected one to download the file to your frontmost Finder window. rtml (with ⌘) — Paste contents of template file, instead of downloading it. rtml (with ⌥) — Remove the url from your remote templates list. rtme (RemoteTemplatesManagerEdit) [Keyword] — Open the remote templates urls file in a text editor so you can add, remove, and edit them manually. rtma (RemoteTemplatesManagerAdd) [Keyword] — takes the URL in your clipboard and adds it to your remote templates list. Download | Source
  15. Run sa and pick from the list (type to filter results) to switch the user agent for your frontmost browser on the fly. Since they seldom change, the Workflow builds and references a file of available user agents. At any point you may ⌘↩ on a result to rebuild it (you’ll be instructed to do so on the first run). This makes normal usage considerably faster. Currently supports Safari and Safari Technology Preview. Webkit is excluded because there’s no good method to detect if its Develop menu is active (a necessity for user agent switching to work). Download | Source
  16. Quick reference for when you need to tell application "System Events" to key code in AppleScript. Call it with kc. Type a search term to filter keys. Download | Source
  17. Libraries/Frameworks Python: Alfred-Workflow, by @deanishe Go: goAlfred, by @raguay.customct Haskell: AlfredLibraryInHaskell, by @raguay.customct Swift: Alfred Swift Library, by @raguay.customct Node.js: Alfy, by @sindresorhus Workflow templates Convert Excel spreadsheet to Workflow: I Sheet You Not, by @deanishe Convert JavaScript browser bookmarklet to Workflow: AlfredBookmarklet, by @vitor Utilities/Components Add auto-updating to your Workflow: OneUpdater, by @vitor Support multiple browsers: Get frontmost tab’s url and title of various browsers, by @vitor Workflow management Workflow searching: Packal.org Alfred Workflow Search, by @deanishe Not Workflow related iTerm2 intergration: custom-iterm-applescripts-for-alfred, by @stuartcryan This list replaces the old one. Most of the libraries on that list are either abandoned or incredibly outdated. While they might still work, they might also work poorly with Alfred 3 or have been obsoleted by it. All the libraries on this list are (at the time of the last edit) up-to-date and their developers are either still supporting them or forum regulars. That means any problems you find and suggestions you have are likely to be addressed. If there’s any library you think belongs in (or should be removed from) this list, leave a reply below. I’ll evaluate it and then delete your comment (so the thread can be kept tidy).
  18. Following the footsteps of PingPong, here’s a two-player game for Alfred. TurnShoot is a game where you try to react faster than your opponent. By default player 1 uses q and player 2 uses p, due to the position of both keys on a typical QWERTY keyboard. If you’d like to change these, do so on the Workflow Environment Variables. Download | Source
  19. Hello, Here's what I'd like to achieve: -Invoke Alfred to select a root folder -Once chosen, select a first folder within this root folder, then a second folder -Once both folders are selected, use a comparison tool to compare folders. This is the workflow: However, we can't use variables in Search Scope, we can only drop folders in it. Do you see any clever way to do this without enhancing Alfred to support more dynamic Search Scope? Thanks
  20. Quick reference for different standard paper formats and viewport sizes of different devices. For paper sizes, type paper, and you’ll see the available standards; all of them have different shortcuts which you can narrow down by starting to type the name of the format you want (so typing paperiso b3 will only show you the B3 size of the ISO 126 standard). For viewport sizes, type viewport, and you’ll see the available devices. You can narrow them down by device name, brand, OS, and even viewport width (in case you want to find similar ones). Paper sizes taken from wikipedia and viewport sizes from viewportsizes.com. Download | Source
  21. 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
  22. List the contents of your ~/Downloads directory and act on them. Call the workflow with rdn to sort from newest to oldest, or rdo to sort from oldest to most recent. 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. Download | Source
  23. Download videos from a plethora of video sources, even when embedded to 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 with the ⌘ modifier, and the full playlist the video is part of 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 two Workflow Environment Variables represent the directories (relative to your home) where videos will download to. Download | Source If on Alfred 2, download this one. Works well with WatchList
  24. 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 window as your frontmost window, the file will be created there, otherwise it will be created on your Desktop. Download | Source
  25. Check and correct spelling in various languages. There are six configurable keyboard shortcuts, but you’ll typically need to setup only between one and three. Select a word and press a shortcut — the first one will show you the word following Alfred’s spell keyword, so you’ll have a set of words to pick from for the substitution (to have it automatically switch the word in this case, you’ll need to set it up in Alfred’s preferences under Features → Dictionary). The following five will immediately replace the word with the best suggestion (using the After the Deadline service). Languages are, in order, English, French, German, Portuguese, and Spanish. Download | Source