Jump to content


Popular Content

Showing content with the highest reputation since 06/23/2019 in Posts

  1. 2 points
    Cue the complaints: why is Alfred littering my file system with random 0 byte files with no extension?
  2. 2 points
    I’d be surprised if there are nine more people in the whole user base who want this feature. Given that, if I were the one building Alfred I’d outright refuse it. This is one of those features that is just asking for people to turn it on to see what it does, and now it changed their Workflows and they don’t understand why, cue bug reports. I strongly believe this is one of those features that on the whole would consume human time, rather than save it.
  3. 2 points
    Please refer to the Github page for full documentation. Or download here. Basically, this is a workflow that allows you to create and view your self-defined cheatsheets. "It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember". Alfred makes your cheat sheets searchable and enables a very quick glance at some commands with your finger tips. This project was inspired by a command-line project cheat, extended its capability and yet acts as an independent tool. If you use "cheat" before, you can safely import your old cheat sheets in one hit. If you haven't heard of "cheat", you can start accumulating knowledges by writing your cheat sheets and make them searchable. To list all your cheat: cheat To search and list the content of one of your cheat: cheat <sheet name>. Fuzzy search and autocomplete is supported. To search in a specific sheet indexed by some keyword: cheat <sheet name> <keyword>. To search across all your sheets for some keyword: cheat --search <keyword> Autocomplete and fuzzy search are supported of course. For more detail and a git demo, refer to the Github page please.
  4. 2 points
    This is really useful. Thank you for making this workflow!
  5. 2 points
    Call qapps and all apps excluding the ones you set in the keep_alive Workflow Environment Variable will quit. The Finder is added to the exclusion list by default, unless you set kill_finder to true. You’ll need to use the exact names of the apps as they present themselves to the system. To prevent multiple from quitting, separate their names with commas. qprocesses will kill all processes, subject to the same keep_alive and kill_finder settings, meaning even things in the background that you don’t see will be asked to quit. Note both options ask the apps to exit (SIGTERM) instead of telling them (SIGKILL). If you need to force processes to terminate, consider ProcessControl instead. Download | Source
  6. 2 points
    There are definitely improvements planned for the internal search over time
  7. 2 points
    ? keyword lets you effectively search Alfred. However it does strict search so you are forced to start search query with how the actual workflow name starts. No fuzzy searching is supported. It would be awesome if ability to fuzzy search through results was added. Thank you.
  8. 2 points
    This is definitely an issue, imo. I've got a bunch of workflows called "XYZ Bookmarks" (Firefox Bookmarks, Pinboard Bookmarks etc.), and Alfred considers none of them to be matches for the query "bookmarks". The preferences search stands out in particular, but I think this is generally an issue with Alfred's filtering outside of its default results. There, it does a fantastic job of learning and adapting to my own usage patterns. In most other places, I have to adapt my usage to suit Alfred instead because its matching is so strict. You can't search both track and artist fields in the iTunes Mini Player, which is a very natural way to search for something like a song (the iTunes library is such a perfect fit for a SQLite database with FTS, too). I can't select my "Rename for Web" File Action with "rw" (or "rfw" or "renweb" or anything that isn't the start of "rename" or "for" or "web"). I can filter to "Application Support" with "as" when I navigate to ~/Library, but that also matches a bunch of other folders, and a more precise query like "appsup" (which is what I would naturally use) doesn't work. I don't expect (or want) full-on fuzzy search everywhere, but it's a perfect fit for File Filters, and Navigation Mode would benefit greatly from being more flexible, too, imo. I want Alfred to learn from and adapt to me, like it does with its default results. Currently, Alfred's strict filtering means it's the other way around.
  9. 2 points
    @vitor thank you for creating this! I have tried every other Alfred timer workflow out there — Timer, Simple Timer, EggTimer 2 — and none of them have worked consistently. This is so helpful!
  10. 2 points
    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
  11. 2 points

    Alfred Filter: fuzzy matching

    I'd like to open up a feature request to have "Fuzzy" matching as one of result filtering options that Alfred handles. This would improve some of my workflows quite a bit. This can be achieved by running other script based tools or implementing the search within your own script, but it would make things easier, if it was already built into Alfred.
  12. 2 points
    This is now fixed in the 4.0.3 b1091 pre-release
  13. 2 points
    @nikivi funny you should ask - I had actually made the required changes to the framework during Alfred 4's development but didn't actually get around to implementing this in the contacts viewer. I'll add this in for the next release Cheers, Andrew
  14. 2 points
    I've updated all of my workflows on https://github.com/raguay/MyAlfred. There are 69 workflows that I've created and use regularly (most of them). If you have any questions or problems, feel free to let me know. Since all of these were created with a need that I had, they might not all work for what you need. But, play around with them and experiment and you will learn a lot! No, I will not be updating each of my individual listings in the Alfred forum or in Packal.org. That is just too large of a job for no benefit. Just get them from my GitHub account. The Alfred 2 and 3 versions are still there in their own directories. Since I don't have Alfred 2 or 3 installed anymore, I will not be updating them. Richard Guay
  15. 2 points

    Alfred Filter: fuzzy matching

    +1 from me (to nobody’s surprise). I would definitely love to see some more options for Alfred’s filtering. Fuzzy, OR, AND, and perhaps XOR (which is generally unintuitive, but sometimes useful). Fuzzy search, in particular, allows users to train Alfred to adapt to the way they think/work. The way filtering currently works, I rather have the feeling that I’m learning to adapt my queries to what suits Alfred.
  16. 1 point
    Alfred works fine with Python 3. You can use your existing, Python 3 script by setting Language to External Script.
  17. 1 point

    How to escape "," in dynamic snippets?

    I’ve made a few tests and was unsuccessful, and the documentation doesn’t mention it. Looks as if it can’t be done as of now — moving to the feature requests forum.
  18. 1 point
    Overview Workflow to display recent Finder files and folders featuring: 5 default categories 2 custom categories Favorites, including a file action Keywords and hotkeys for Favorites and all categories apart Interaction with Open/Save dialogs and Finder Go To Folder Preview, reveal, open or use Alfred file actions Usage Show Alfred and type the keyword rec: You can also use the category keyword if you prefer to access the recent files directly, without an initial menu: Now: keyword now Folders: keyword fol Applications: keyword apps Documents: keyword docs Downloads: keyword dow Custom Category 1: keyword c1 Custom Category 2: keyword c2 Favorites: keyword fav In addition, there is a hotkey for the keyword rec, Favorites and all categories apart. Note that all keywords, as well as the hotkeys, can be changed (go to Alfred Preferences > Workflows). Finally, once inside a category you have the following actions: Return key: open the file or folder Command key: reveal the file or folder in Finder Option key: pass the file/older path to an open/save dialog or Finder window Control key: add/remove an item to/from Favorites Shift key: preview (Quick Look) the file or folder Custom Categories You can set up to two custom categories: Show Alfred and type the keyword recpref Select a category to configure and press return key Type an unique category name with at least 3 characters Type one or more (separated by comma) file types e.g.: com.adobe.pdf,public.plain-text To find a file type you can use Alfred Metadata Analyzer. To remove a custom category press command key while highlighting one of them in recpref. Favorites All files or folders set as a favorite item will remain in the list no matter how old they are. To add an item to Favorites just highlight a file or folder, hold control key and press return key. To remove an item go to Favorites, highlight an item, hold control key and press return key. You can also add items utilizing Alfred File Action (accepts multiple files). Note that Favorites has also its own keyword (fav) and hotkey. Interacting with Open/Save Dialog or Finder You can pass a recent file or folder path, or an item in Favorites, to an open/save dialog or even the current Finder window to go to that folder: when an open/save dialog is displayed type the keyword rec or any other category keyword find an item (a file or folder or an item from Favorites), highlight it, hold option key and press return key wait a bit so the workflow can load and paste the item path Default Folder The workflow remembers the last path used per application. To use the feature just type the keyword df when an open/save dialog is displayed. If the workflow was never used for the application, or the path does not exist anymore, then the keyword rec will be automatically triggered so you can select a path from a file or folder. There is also a hotkey to make things even faster. Make sure to give the feature time to process because e.g. if you hold keyboard keys way too long then the feature may not work as expected. What’s new Up to 2 custom categories (keyword recpref) Downloads category Keyword for each category Hotkey for each category Multiple files in Add to Favorites file action Changed Auto-path to Default Folder (keyworod df) Changed Just Now category to Now Added Help (keyword rechelp) Update to Alfred 2.3 features Several internal improvements Download Version 4.2 Release date: 19 Jun 2016 Requires Alfred 3 Download
  19. 1 point
    This is a different problem. This is a workflow that is simply a file scanner that is set to scan a specific kind of files in a specific directory ( ~/Library/Mail ). This is a specific configuration that work with Apple Mail since Mail put its email database inside a folder hierarchy composed of .emlx files which can be directly accessed by Finder. Spark uses a different database composed of SQLite files. Therefore, the workflow you are linking (or a modified version) can't be used with Spark and you would need to create a new one that can interface with the SQLite database. If you want to go this route and create your own workflow, you can have a look and find Spark's data folder here: ~/Library/Group Containers/3L68KQB4HG.group.com.readdle.smartemail
  20. 1 point

    Snippets: Case insensitive

    It's be great if there was an option to make snippet matching to be case insensitive (and to match the existing case). I'm currently having to add multiple options for each entry to match captial first letters which is a bit of a pain. Thanks
  21. 1 point

    Keep clipboard history forever

    +1 I'd be willing to pay >another $30 on top of my existing Legendary license for unlimited clipboard history, and I'd fully accept any CPU/Memory hit necessary to get it. I use Clipboard History as a general buffer for everything in my life, and losing everything beyond 3 months is a frequent source of headache. Here's a small sample of a few recent things I've lost due to history expiring: flight confirmation details commit summaries with commit ids (detached commits that are hard to find due to deleted branches) important UUIDs ssh public keys many many many file paths (lots of obscure config file paths that I never bother to remember) entire config files blog post drafts comments on social media form fields on websites It's always stuff that I don't realize at the time would be important later so it would be pointless to try and use snippets for most of these. Having a massive index of every meaningful string that's passed through my brain is incredibly useful. If needed you could hide "6 months" "12 months" and "unlimited" behind an "Advanced settings" pane and display a big warning about potential performance downsides. For now I just periodically back up `~/Library/Application\ Support/Alfred/Databases/clipboard.alfdb` to a separate folder, and merge the rows in it with a main database. This at least allows me to query further back by querying the merged database directly. Maybe I'll build a workflow to do that if I have time, but no promises. I've created a script that handles the backup of the db, merging it with an infinite-history sqlite db in my home folder, and searching functionality. /* Delete any items that are the same in both databases */ DELETE FROM merged_db.clipboard WHERE EXISTS( SELECT 1 FROM latest_db.clipboard latest WHERE $UNIQUE_FILTER ); /* Insert all items from the latest_db backup */ INSERT INTO merged_db.clipboard SELECT * FROM latest_db.clipboard; Full source: alfred-clipboard.sh (it's a fully functional infinite-history solution for Alfred, with backup, search, exporting, etc.) One thing I want to try is periodically overwriting the Alfred internal db with my merged one, and translating all the older timestamps so that they're artificially set to something within the last 3 months, that way I can accumulate infinite history without Alfred attempting to expire anything. In theory it should work fine, I'll probably update my script to do that sometime in the next week. One thing I cant figure out though is the format of the timestamps (e.g. `584601195`), they're not valid UNIX timestamps, they must be offsets in seconds from some custom hardcoded date. When I tried prepending `1` to make it something like `1584601195`, it becomes a valid unix timestamp, but the time is ~4 months in the future! If anyone has more info on the schema, let me know. I also tried hacking around the limit by changing the Alfred binary directly but unfortunately I was only able to find the limit in the .nib file (which is useless as it's just the GUI definition). I'd have to properly decompile Alfred it to find the actual limit logic... $ ggrep --byte-offset --only-matching --text '3 Months' \ '/Applications/Alfred 3.app/Contents/Frameworks/Alfred Framework.framework/Versions/A/Resources/AlfredFeatureClipboard.nib' 12590:3 Months (Now I just have to convince the Google Chrome team to also allow storing browser history longer than 3 months... then the two biggest sources of data-loss pain in my life will be eliminated).
  22. 1 point
    Seems this workflow needs to be updated both to work with Alfred 4, and to use an updated API. It's currently trying to use https://api.fixer.io, which has been deprecated. I tried setting up the new version of fixer.io's api with a free key but it still has errors. I really hope this plugin gets an update - I used it quite often when it was working.
  23. 1 point
    Agree. I'm not denying that it's an issue. I suppose what I want to say is that I think there's an upside to the dark UI in Alfred Preferences in that it's makes it very difficult for a workflow author not to notice that their chosen icon doesn't work on a dark background. This is true. Such people are free to choose a theme that makes Alfred's results legible. It makes sense that a similar option should be available for the Alfred Preferences UI. In that regard, one could argue that Alfred Preferences should base its colours and fonts (including sizes) on the selected theme. Apart from being super-cool, that would allow users to make Alfred as readable or unreadable as they like. As I understand it, the majority of Alfred's own icons are defined in code, not as image files, which should make changing their colour comparatively easy. Other than being a lot of work for Andrew, the main argument against it—as I see it—is that it's potentially another way for users to shoot themselves in the foot, which invariably means more support requests from people complaining about "small, low-contrast fonts" that they chose themselves. But that's enough of my idea. I like your suggestion to follow OmniFocus's behaviour.
  24. 1 point
    The problem is that many fill-in snippets have multiple placeholders, which is where Alfred is weak. If you only have one placeholder, and it doesn't need to be inserted in multiple places, you can usually just use the cursor macro instead. @csaborio's and @Vero's examples would both work fine with cursor positioning. Here's one of my Markdown fill-ins from Typinator: --- title: {{?Title}} date: {YYYY}-{MM}-{DD} draft: {{?Draft<false>}} tags: {{?Tags}} partner: {{?Partner}} --- {^} <!--more--> There are four placeholders there. To implement that with Snippet Triggers, I'd need to add a Keyword + Args & Vars for each placeholder. That's a lot of work compared to typing a few curly braces. Here's the Typinator UI: You can tab back and forth between the fields (in case you made a typo). You can leave the window to copy some text from somewhere else and it won't disappear. With Alfred, you have to pop up the query box for each field in turn, and there's no going back or leaving the app. If you don't get it right first time, you have to start over. You can do some amazing stuff with Snippet Triggers, but they are not well suited to this particular task. For development, I'd generally recommend using your editor's built-in snippet engine rather than a separate application. They typically work much better because they are aware of things like indentation level, which an external application like Alfred couldn't possibly know.
  25. 1 point
    Andy Matuschak

    Ulysses workflow

    @Jakub Sypiański I've been having the same problem for months. Ulysses changed their file format around the new year, and the workflow doesn't support the new one. I went ahead and added support this morning. I've opened a pull request with the change. You can subscribe to it here to know when it's been merged into the main workflow, or if you're able, you can run the updated workflow directly from my fork.
  26. 1 point
    I am still so gutted about this - anyone found any alternatives? As a non developer, what would be the learning curve like if I was to take this on myself and try to fix the HTML parsers?
  27. 1 point
    @Brandon What's your Alfred hotkey? If you change your hotkey to something less common, do all characters get captured? Take a look at both of these links for things to check out (the latter only applies if you've set your hotkey to Cmd + Space): https://www.alfredapp.com/help/kb/missing-first-character/ https://www.alfredapp.com/help/troubleshooting/cmd-space/ Cheers, Vero
  28. 1 point

    Cursor styles in search bar

    It'd be great if we could have different styles for the cursor in the search bar! A block style for the cursor would be awesome, and perhaps having the option to thicken the cursor width in the themes section.
  29. 1 point

    [SOLVED] Quit all except [named app]

    Totally understandable, thank you for your interest.
  30. 1 point
    No reason this couldn’t work as both a file action and a hotkey. The cleanest solution would be to add a new node, similar to a Browse in Alfred Action that adds to the buffer. That way we could make more complex selections, like have a Workflow that does something with some files and sends others to the buffer. It could even have an extra checkbox to Browse in Alfred after adding to Buffer — it it’s off, it just adds to the buffer, if you check it, it opens in the File Actions pane so you can immediately act on them.
  31. 1 point
    It's working now, thanks!
  32. 1 point
  33. 1 point
    File action to rename the selected directory or file (preserving the extension). Use Alfred to pick what you want to rename and choose Rename as the action. Alfred’s main window will appear and you type a new name (don’t include the file extension). Download | Source
  34. 1 point
    Thank you! And thank you as well for giving reproducible steps — it made it way easier to identify the issue. It also happens with mpv; it seems the app instance gets the information (as you said, it activates), but if it was already open, it doesn’t take over, presumably to not take you out of whatever is currently playing. Not a big deal. I’ve updated the Workflow to now always open a new app instance. Already released at the same URL.
  35. 1 point

    An Old Hope

    Nice theme. Love it. Thanks for sharing!
  36. 1 point
    Can confirm. It does exactly what it says on the tin.
  37. 1 point
    I'd love to see each file's tags listed in the information provided by File Navigation's Preview Panel. Tags seem more important than most of the info that is currently listed (e.g., app the file opens in, date created, etc.). Why not list the file's tags there? At the moment, Alfred doesn't have an easy way for viewing or modifying tags, and this seems like a good first step that won't demand a complete overhaul of anything. Ideally, I'd love to see Alfred have its own file action for tags, too, which allowed users to view the file's current tags and modify them as needed (without requiring users to remember their list of tags, etc.). Relying on Finder's "get info" feature is a little clunky, as it requires leaving Alfred, etc. I have some workflows for adding or removing tags that I often use, but they're not very flexible (e.g., they don't tell me which tags are already on the file, they don't dynamically tell me which tags are in use on my system, etc.). Lastly, I'd love to see tags visually incorporated into Alfred's main search results (favorite suggestion here), but I guess that's for another day! Thanks for listening!
  38. 1 point

    Make PopClip Appear

    This workflow sounds useful but the link is dead.
  39. 1 point

    Add support for mailmate email client

    The mailmate emails client (http://freron.com) is gaining a lot of traction recently. I use it as my primary email client and would love to see support added in Alfred.
  40. 1 point
    When creating a workflow, the default "script" option points to "/bin/bash" but why not just run on the default terminal option (which could be "/bin/zsh" for me and bash for other people)?
  41. 1 point
    Hi, Latest version can be downloaded from: https://github.com/jaroslawhartman/TimeZones-Alfred https://jhartman.pl/tag/alfred/ http://www.packal.org/workflow/timezones-2 At time of writing, v2.6 is the latest. Best regards, Jarek
  42. 1 point
    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
  43. 1 point

    Night VS Light

    Thank you. I thought it had the unsplash vibe. Did a reverse image search and found the original link.
  44. 1 point

    [SOLVED] DevonThink 3 Results in Alfred

    👍 Shame he didn't post that the first time. Would have saved me having to figure out how his app works. Still, I guess it's documented here, too, now.
  45. 1 point

    The State of Alfred Remote app

    When Alfred Remote 2 comes out, it'll be a free upgrade for Alfred Remote 1 users
  46. 1 point

    Find and open Sublime Text Projects

    Just released v3. Rewrote the workflow in Go for much speed Add ability to open project folders New, prettier icons
  47. 1 point
    That is exactly how it works already. By default it uses ⌘↑ and ⌘↓; if you want to to use ← and →, go to Alfred Preferences → Features → File Search → Navigation → Shortcuts (tick the first box).
  48. 1 point
    So here's a workflow to open the current Finder window in Terminal or iTerm, depending on what you like to stick with. Also the other way round is possible. ft: open current Finder directory in Terminal tf: open current Terminal directory in Finder fi: open current Finder directory in iTerm if: open current iTerm directory in Finder For Path Finder fans: pt: open current Path Finder directory in Terminal tp: open current Terminal directory in Path Finder pi: open current Path Finder directory in iTerm ip: open current iTerm directory in Path Finder GitHub. Direct Download.
  49. 1 point
    These can be turned off in Alfred's Adv. preferences "Show notification icons in 10.9"
  • Create New...