Jump to content


Popular Content

Showing content with the highest reputation since 12/18/2017 in all areas

  1. 5 points
    Search for emoji and copy them to the clipboard ?. Download v1.8.0 (2018-11-20) Usage: emoji [query] Press [return] (↵): Copy the symbol of the selected emoji (e.g. ?) to your clipboard. Press [alt]+[return] (⌥↵): Copy the code of the selected emoji (e.g. `:rofl:`) to your clipboard. Press [cmd]+[return] (⌘↵): Paste the code of the selected emoji (e.g. ?) to your frontmost application. Automatic Updates: This workflow will automatically check for updates at most once per day. If a new release is found, it automatically downloads and installs the latest version of the workflow. All downloads come directly from official GitHub releases. Optional Hotkey and Snippet Triggers: Customize the workflow with either a custom hotkey or a custom snippet. Links: GitHub Project Download New Releases GitHub Issues - (please submit bug reports and feature requests here) Screenshot:
  2. 5 points
    # fuzzylist Fuzzy, self-updating list filter workflow for Alfred 3 This is a workflow template - it does nothing as is. ## Usage: - create a csv file like you would for an Alfred List Filter - name the file *list.csv* and add it to the workflow directory On the initial run, the workflow will create a file list.json for output to the fuzzy search. If list.csv is modified, it will update list.json . ## Credits - uses fuzzy.py by @deanishe - https://github.com/deanishe/alfred-fuzzy ## Download workflow at https://github.com/derickfay/fuzzylist/blob/master/Fuzzy List Filter.alfredworkflow
  3. 4 points
    Here is my own custom version : https://github.com/lucianosantana/EggTimer2 (based on the updated version for Alfred 3 by @ianhowson) For the issues with the notification I had to change the notify_functions.sh . I've completely erased the original and added the following : notify () { if [ "$5" = alarm ]; then nc_icon="$PWD/resources/icon_alarm.icns" else nc_icon="$PWD/resources/icon.icns" fi osascript <<EOD set img to POSIX file "$nc_icon" display dialog "$3\n$4" with title "$1" with icon img buttons {"OK"} EOD } I'm using AppleScript to display a Dialog (not a notification). This way the message sticks on the screen until I interact with it and I don't loose the reminder if I'm temporarily away. I also had to invert the order of execution of the sound and alert. Originally it executes the notification then the sound. But changing the notification to dialog blocks the script execution, therefore the sounds executes after user interaction. To solve this issue just search for afplay sounds/alarm_done.mp3 & in the files timer_alarm.sh , timer_auto.sh and timer.sh . Then move it just before the notify command. Might be helpful for you @Basket and @Dzier .
  4. 4 points
    @deanishe this is now available in the fs navigation view in 3.6 b900, either click the button bottom right of the window or use cmd+shift+i
  5. 4 points
    The main reason I avoid full fuzzy in the rest of Alfred is performance and result noise, but I agree with what's said here. I'll look at improving this!
  6. 3 points
    screencapture, which comes with macOS, is surprisingly capable (man screencapture) and can do it in a single command: screencapture -iP "$(mktemp).png" i is to capture interactively (i.e., the same as ⌘⇧4). P is to open the image in Preview after it’s done. "$(mktemp).png" is a temporary file to store the screenshot, which screencapture needs. Add that in a Run Script Action connect by a Hotkey Trigger, and you’re set. Here’s a ready-made Workflow.
  7. 3 points

    Undo deletion of Snippet collection

    This thread has made me take a fresh look at how Alfred deletes snippets, and I've made a change to now move to trash for both snippets / collections and workflows instead of removing them. This will make it into the next Alfred release
  8. 3 points

    Rsync Folders

    Rsync Folders for Alfred Keep a set of folders in sync with their target folders via rsync. Usage rsync: executes all rsync configurations add a new entry to rsync batch delete an entry from the batch file Downloads: https://github.com/Acidham/rsync-folders http://www.packal.org/workflow/rsync-folders
  9. 3 points
    This is now in the b901 pre-release. I've been meaning to add this for quite some time!
  10. 2 points
    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.
  11. 2 points
    Bookends is an excellent bibliographic/research manager for macOS. This Alfred workflow curates 11 tools together in one interface to interact with Bookends and other apps. You can use Alfred keywords (be…) and/or bind your preferred key combination to trigger these directly. It has been designed for Alfred 3, and should keep itself up-to-date using OneUpdater. More Information… —<>— Download Directly… key: ?: select some text in another app then trigger tool — ?: select reference(s) within Bookends then trigger tool — ⌨️: trigger tool and enter some text in Alfred beidsearch ? — Find a selected uniqueID in Bookends. For example, if you have a temporary citation like {Koffka, 1922, #6475} in your word-processor, double-click select the Bookends ID `6475`, then trigger this workflow and it will find the reference in Bookends for you. bebrowser ? — Search selected text in Bookends browser. For the Pubmed interface you should select this manually in the bookends browser. Because this uses `System Events`, sometimes the automatic paste into the search field fails, in which case you need to manually press ⌘V and ⌅ (enter) to trigger the search. berefsearch ? — Take some selected text like "(Doe et al., 2005)" citation, clean it up become "Doe 2005" and send it to Bookend's quick search. This is great because you can take a formatted ref in a text document and search for the first author/year, then quickly paste back (⌘Y for Scrivener) the Bookends style temporary citation in its place! bequickadd ? — Take a text selected DOI / PMID / ISBN or JSTOR identifier in any app and use Quick Add (feature added in Bookends 13.0.3+) to quickly add this reference to the database. betoopml ? — Select multiple references within Bookends, then run this to create an OPML file which you can import into Scrivener or other OPML-aware tool. This will contain the abstract and notes which is very useful for research. It contains links back to the Bookends reference. You can configure the export path in the workflow variables (default Desktop/). bescopus ? — Select a reference (with a DOI) in Bookends, then trigger this to search Scopus with the DOI. It will return an inline results list for the Scopus entry AND the Cited-by page. Select an entry to go to that page. It will also append these Scopus URLs in the Notes field for future reference. You can enter your Scopus API key in the workflow variables. betobibtex ⌨️ — You enter the name of a Bookends static/smart group name and this will create a BibTeX bibliography file for those particular groups. Very useful for Pandoc and/or LaTeX workflows. You can optionally generate JSON instead of BIB (faster if use pandoc-citeproc). You can configure the export path in the workflow variables (default Desktop/). becite ⌨️ — You enter author or editor name{s} along with an optional YEAR (case insensitive REGEX), and get an inline results list. You can [enter] to paste this as a temporary citation (or use: ⌘ pastes Pandoc style, ⌥ pastes MMD style, ⌃ pastes formatted ref, ⇧ opens ref in Bookends, [space] quicklooks attachment). betitle ⌨️ — You enter word{s} in the title or keyworkds , along with an optional YEAR (case insensitive REGEX), and get an inline results list. You can then paste this as a temporary citation (or use: ⌘ pastes Pandoc style, ⌥ pastes MMD style, ⌃ pastes formatted ref, ⇧ opens ref in Bookends, [space] quicklooks attachment). beall ⌨️ — You enter word in any field (case insensitive REGEX), and get an inline results list. You can then paste this as a temporary citation (or use: ⌘ pastes Pandoc style, ⌥ pastes MMD style, ⌃ pastes formatted ref, ⇧ opens ref in Bookends, [space] quicklooks attachment). bebib ⌨️ — You enter an author / editor name, and get an inline results list. You can [enter] to paste this as a formatted reference (or use: ⌘ pastes MMD style, ⌥ pastes Pandoc style). becite, betitle, beall and bebib were inspired by the tool by Eggman which I've rewritten in Ruby to be faster and more flexible. Changelog 1.2.9 — add a new workflow variable `tempCitationStyle` that sets the default temporary citation format for becite / betitle / beall. When unset it will be the Bookends standard, but you can set the variable to `Pandoc` / `MMD` / `LaTeX` to paste the citation in a different format (`[@key]` / `[#key]` / `\\cite[]{key}`). Also if the authors field is empty for a reference, we now try to use editor names instead in the Alfred results list. 1.2.8 — add phrase search, so for example 'cartesian theatre' 2016 will find papers that use that exact phrase rather than before where cartesian and theatre were searched irrespective of their location. 1.2.5 — becite/betitle/beall first AND last author names with initials are now shown, and if an attachment is present you can Quicklook it directly from Alfred without losing focus (press shift or ⌘Y)! 1.2.4 — becite/betitle/beall now show if a reference has an attachment, and for BE13 users use the new applescript events that are slightly more efficienct. 1.2.3 — small change to open the attachment when you use becite with [fn]. 1.2.2 — update the Scopus search tool to the newest API changes (https by default and httpAccept is required) 1.2.1 — rewrote the becite, bebib and betitle tools to perform a mutliple item search (i.e author1 + author2) and you can add an optional YEAR to refine the search. So for example [Zipser Lamme 1998] searches for references by authors (or editors) Zipser and Lamme published in 1998. Also optimised the search code (rewritten in Ruby) so now it takes much less time for large results sets. Because it is so much faster, add a new [beall] tool like betitle but to search in all database fields. For becite/betitle/beall you can now use SHIFT to open ref directly in Bookends. 1.1.0 — option to use RTF for becite/betitle temporary citations to enable bookends links copied into RTF comments/annotation aware apps like Scrivener. Added Workflow env variables citeUsesRTF to enable/disable this feature (default is disabled). Note it cannot match your font on paste of RTF, this is a limitation of RTF. 1.0.9 — V1.0.9 add new bequickadd Quick Add tool, needs BE 13.0.3+ 1.0.8 — allow author name OR editor name search for becite; better chinese author fix. 1.0.7 — try to get becite search for chinese authors to work. 1.0.6 — add betitle that searches within the reference title for a word. 1.0.5 — add ⌥ to bebib to paste pandoc footnote format. bebib formatted ref now pastes in the target app. Add environment variable to control the bibliography format for bebib.
  12. 2 points

    Find, filter, open Git repositories

    Alfred Git Repos Workflow Browse, search and open Git repositories from within Alfred. Download Get the workflow from GitHub or Packal. Usage This workflow requires some configuration before use. See Configuration for details. repos [<query>] — Show a list of your Git repos filtered by <query> ↩ — Open selected repo in app_1 (see configuration) ⌘+↩ — Open selected repo in app_2 (see configuration) ⌥+↩ — Open selected repo in app_3 (requires configuration) ^+↩ — Open selected repo in app_4 (requires configuration) ⇧+↩ — Open selected repo in app_5 (requires configuration) fn+↩ — Open selected repo in app_6 (requires configuration) reposettings — Open settings.json in default JSON editor reposupdate — Force workflow to update its cached list of repositories. (By default, the list will only be updated every 3 hours.) reposhelp — Open this file in your browser Configuration Before you can use this workflow, you have to configure one or more folders in which the workflow should search for Git repos. The workflow uses find to search for .git directories, so you shouldn't add huge directory trees to it, and use the depth option to restrict the search depth. Typically, a depth of 2 will be what you want (i.e. search within subdirectories of specified directory, but no lower). Add directories to search to the search_dir array in settings.json (see below). The default settings.json file looks like this: { "app_1": "Finder", // ↩ to open in this/these app(s) "app_2": "Terminal", // ⌘+↩ to open in this/these app(s) "app_3": null, // ⌥+↩ to open in this/these app(s) "app_4": null, // ^+↩ to open in this/these app(s) "app_5": null, // ⇧+↩ to open in this/these app(s) "app_6": null, // fn+↩ to open in this/these app(s) "global_exclude_patterns": [], // Exclude from all searches "search_dirs": [ { "path": "~/delete/this/example", // Path to search. ~/ is expanded "depth": 2, // Search subdirs of `path` "name_for_parent": 1, // Name Alfred entry after parent of `.git`. 2 = grandparent of `.git` etc. "excludes": [ // Excludes specific to this path "tmp", // Directories named `tmp` "bad/smell/*" // Subdirs of `bad/smell` directory ] } ] } This is my settings.json: { "app_1": "Finder", "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], "app_3": "Sublime Text", "app_4": "SourceTree", "app_5": "iTerm", "app_6": "GitHub", "global_exclude_patterns": [], "search_dirs": [ { "path": "~/Code" }, { "path": "~/Sites" } ] } Search Directories Each entry in the search_dirs list must be a mapping. Only path is required. depth will default to 2 if not specified. excludes are globbing patterns, like in .gitignore. name_for_parent defaults to 1, which means the entry in Alfred's results should be named after the directory containing the .git directory. If you want Alfred to show the name of the grandparent, set name_for_parent to 2 etc. This is useful if your projects are structured, for example, like this and src is the actual repo: Code Project_1 src other_stuff Project_2 src other_stuff … … Open in Applications The applications specified by the app_N options are all called using open -a AppName path/to/directory. You can configure any application that can open a directory in this manner. Some recommendations are Sublime Text, SourceTree, GitHub or iTerm. Note: As you can see from my settings.json, you can also set an app_N value to a list of applications to open the selected repo in more than one app at once: … "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], … You can also use → on a result to access Alfred's default File Actions menu. License, Thanks This workflow is released under the MIT Licence. It uses the Alfred-Workflow and docopt libraries (both MIT Licence). The icon is by Jason Long, from git-scm.com, released under the Creative Commons Attribution 3.0 Unported Licence.
  13. 2 points

    Autocomplete words from a textfile?

    Write in Markdown and then convert it to BBCode using one of @vitor's workflows: MarkdownTransform.
  14. 2 points
    1. In my never-ending quest to shoehorn ever more snippet functionality into Alfred, I'd love (at least the option of) a Date Modified column in the Snippets list in Preferences – I live and die by Alfred snippets in my (email-based customer support) day job (lots of boilerplate text and instructions/fixes for common issues), and being able to more easily surface old (and potentially stale) snippets would be a big boon. I can fudge this by exporting/renaming to .zip/unzipping/checking modification dates, but having this right within the app would be better still! 2. While I'm dreaming, I'd also love per-snippet usage statistics (perhaps across a given time period – you've used this X times this week/month/since creating it) – both for the coolness factor (quantified self foreverrrrrrr!) but more usefully for the purposes of seeing what snippets I most frequently use (and should concentrate on making sure are most polished). 3. A tiny one – the snippet browser shows Keyword '' (empty quotation marks) for a given snippet when no typed keyword is set, which offends my delicate aesthetic sensibilities – would love to just have this not displayed in such cases. (Turned into a three-in-one-request, but at least all thematically linked – sorry!)
  15. 2 points
    Give me a day or two. I need to update the workflow library now Alfred has a real way to change options. But first, I need to upgrade a machine to High Sierra, as GitHub have changed their SSL settings, breaking Python on El Cap and Sierra.
  16. 2 points

    reveal snippet

    @chan Provided I've understood your question correctly, if you want to edit an existing snippet, arrow to it in the Snippet Viewer and press Cmd + S to pop up the editing sheet for the snippet Cheers, Vero
  17. 2 points

    Mountain Duck Bookmarks

    Hello guys! Just wanted to share workflow I created for Mountain Duck app. Heavily based on Cyberduck Favorites by Kasoki Just use "md" and "mt" keywords for searching your bookmarks list of ftp\sftp\basically any type of server to quickly mount\unmount or ssh to it. It's based on apple script menu bar item click integration, but is very reliable, at least for me. Workflow GitHub Happy for any kind of feedback
  18. 2 points

    Outlook for Mac workflow

    I edited the workflow to replace references to Outlook 15 to 2016. All three triggers are provided in one workflow. You can find the new one here: http://www.cortig.net/files/Outlook2016Searches.alfredworkflow.zip Corentin
  19. 2 points

    Open Most Recent Download; pbcopy

    If you wanted to do that for the learning process and have questions about how any of those work, ask away. The secret there lies not with pbcopy, but with Bash. pbcopy’s task is “copy whatever I give you as input to the clipboard”. < means “take the file to the right of me as input to the command to the left of me”. If instead we had <<<, it’d mean “take the string to the right of me as input to the command to the left of me”. So in this Workflow, if we had <<< instead of <, the clipboard would be populated with the path to the file instead of its contents. Key phrases to search for if you want to learn more: “I/O redirection”, “here document”, “here string”.
  20. 2 points
    Learn Anything This workflow lets you search for any topic on Learn Anything website. For more information, on how you can use the workflow, you can read the GitHub readme. Hope you like it. ? Code | Download
  21. 2 points
    Version 7.8 is available http://alfred-spotify-mini-player.com/blog/Version-7.8/
  22. 2 points
    Very unlikely. I think that would violate the POLA. The default behavior of Alfred is to add items to the clipboard upon hitting [return]. I suggest using a keyword snippet instead. If the workflow is instantiated from a keyword snippet, it automatically pastes. Yes, that already exists. Assuming that you have at least v1.6.0 installed, just set the `snippetapp` environment variable (to any value) in the workflow configuration to change the behavior to always paste the emoji character regardless of how the workflow is instantiated.
  23. 2 points
    Automatic Updates are now part of v1.4.0. Enjoy! https://github.com/jsumners/alfred-emoji/releases (this will be best realized when new emoji are released)
  24. 2 points

    Launchbar Inspired Themes

    While Alfred takes the cake when it comes to functionality, Launchbar certainly has a polished aesthetic. Here's my best shot at adapting its themes to Alfred. Light Theme https://www.alfredapp.com/extras/theme/gd0PV7UnCW/ Dark Theme https://www.alfredapp.com/extras/theme/7ouF832MyU/
  25. 2 points

    BSOD - We Shall Remember

    Not sure why anyone would actually use that theme, but I had fun getting inspired by Windows' BSOD