Jump to content


Popular Content

Showing content with the highest reputation since 01/17/2019 in all areas

  1. 4 points

    Alfred 4 is coming in June! :D

    In case you haven't seen our tweet from a few days ago... Prepare your keyboards and stretch those finger muscles, Alfred 4 is coming in June! We've posted a very high-level list of just some of the features and improvements you can look forward to here: https://www.alfredapp.com/v4/ You'll answer find answers to questions about upgrades, and an email signup if you'd like to hear about Alfred 4 as soon as it's available!
  2. 3 points

    Alfred Markdown Notes

    Markdown Notes help to manage Markdown files in a directory with powerful full text search (supports & and |), tag search or search for todos ( - [ ] or * [ ]) . It also allows to quickly create new notes based on custom templates. I started to write this to replace the ton of Note taking apps that I used a while ago. I spent a lot of time to get this to work and the setup is a bit complex but once you went thru the steps it can indeed replace your note taking app. The best MD Editor for this purpose is Typora but any other MD editor works as well. Download at Git as usual: https://github.com/Acidham/alfred-markdown-notes
  3. 3 points

    Mac App Store Search

    Search the Mac App Store and view search results with artwork previews right in Alfred. Open search results in App Store.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — masprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache. Additional keywords allow you to open the App Store app's Purchases (“masp”) and Updates (“masu”) tabs. Download
  4. 3 points
    I have something in the works which I think will make you very happy with regards to this. That's all I'm saying for now
  5. 3 points

    First party sync service

    CloudKit may work just fine for applications that manage their own data using its APIs, but that isn't Alfred. A lot of the files being synced don't belong to Alfred: they belong to workflows. As a result, Alfred isn't in a position to manage (via revisions or whatever) the many sync conflicts iCloud's crapness causes because Alfred doesn't have sufficient information to do so. Alfred's current sync Just Works with any software that can reliably sync files/directories, be it Dropbox, rsync, Unison, Seafile or whatever. You're talking about completely rewriting Alfred's sync/file management in order to use a service that has a long history of losing data. Replacing a system that works wonderfully (if you're using reliable sync software). The new limitations to Dropbox's free accounts suck, but I'm not convinced that's a sound reason to ditch a working, platform-agnostic sync solution for one that's tied to a legendarily unreliable service.
  6. 3 points

    Alfred preferences fails to open

    My local kebab shop always puts up a notice when they're on holiday that says "back in two weeks".
  7. 3 points
    @Luciano Santana (and anyone else following along), there are a few commands (Create New Timer, Create New Alarm, and View Recent) that are still broken in Alfred 3. I have a branch that fixes them. (I also submitted a PR to Luciano's repo.)
  8. 2 points

    Change Default App for filetype

    Dependencies Default App uses duti to change assigned apps. You need to install duti first before you execute the Alfred Workflow brew install duti Usage dapp ext 1. ext you can type any extension, the workflow will ask for confirmation to change the assigned app 2. Choose one of the Apps to assign the extension to. Download on Git https://github.com/Acidham/alfred-default-app
  9. 2 points

    Do Not Disturb, Limited

    My first (exported) workflow: Do Not Disturb, Limited - Toggle the macOS Do Not Disturb feature, optionally for a specified length of time. I was really inspired by CalmNotifications but I always forgot to toggle it back. Plus, I really wanted the indicator to reflect the current status, which didn't happen when the "set a plist value and kill NotificationCenter" method is used. Releases | Source
  10. 2 points

    Just saying thanks!

    Hey all! 😁 I only found Alfred yesterday, thanks to a YouTube video where the guy mentioned it as a 'must have' Mac OS app. Thank you all for the work on Alfred, workflows and everything else I am finding on this forum. forums are so damn good when ppl get together like this and share the good stuff 😃 Thanks folks! These workflows and stuff are incredible.
  11. 2 points

    Speed and compiled workflows

    The thing with Python is the startup time. If you’re using my library, for example, it takes ~0.05s to load Python and import the libraries. 0.05s is definitely perceptible. As far as optimising Python workflows goes, I focus on caching and lazy imports. They're always going to be noticeably slower than compiled workflows, though. I mostly use Go these days. It’s somewhat more effort to write than Python, but 20x faster.
  12. 2 points

    Workflow for Outlook V16 Search

    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!
  13. 2 points
    It's called Pacmax. Saw it posted on Reddit. I was actually thinking of building it but glad that I don't have to. 😅
  14. 2 points
    Use the Image coordinates in map File Action to open an image’s location in the maps provider of your choice. The map_provider Workflow Environment Variable defaults to Apple, but also supports Google. Download | Source
  15. 2 points
    Yeah, I mostly use neovim. But of course I use Xcode, too. If I want to write a good GUI app, then I should start with a good GUI library. And then I use the editor/IDE that works best with that library. I'm trying to write halfway decent software, not have a great time writing a turd. I don't see any point in epic productivity gains if, in the end, that leads to producing crap.
  16. 2 points
    That isn't what Andrew meant. Try this: /usr/local/bin/shuf -n 1 ~/Downloads/One_Liner_Harvey.txt
  17. 2 points

    Need this super program on Windows

    If I had to pick some things that are never going to happen, Alfred for Windows wouldn't be much further down the list than my baldness spontaneously curing itself.
  18. 2 points

    Need this super program on Windows

    Either work on Alfred for Windows already started, or it hasn’t. If it has, registering support does nothing because it would happen anyway. If it hasn’t, even if work on it started today it would take so long (with the current team), that by the time it was done there would be no guarantee all the people asking for it today would still be interested. Over years there’s only been a handful of people expressing interest in this, not nearly enough to justify the commitment to support a whole new platform. Alfred Remote for Android would make sense way before Alfred for Windows, and that is unlikely to happen as well (there’s another thread on it). Yes, in theory it could happen. In practice, you shouldn’t get your hopes up in the slightest.
  19. 2 points
    Running the below command in Alfred fixes this issue for me.. bs workflow:reset
  20. 2 points
    Open the workflow in Alfred Preferences, click the [𝓧] icon and do this:
  21. 2 points

    Roman Numeral Converter

    Okay, I didn't know that - thanks for letting me know! The workflow is now updated to use JSON. I'll agree with you, that is much cleaner.
  22. 2 points

    Basecamp Workflow

    Right-click on the workflow in Alfred Preferences and choose "Open in Terminal". If you did the above, Terminal should have opened a new window set to the workflow directory. Just enter bundle install --standalone and hit ↩.
  23. 2 points
    I added a workflow to go with this set of Themes, you can find it on the same Github repo in the Workflows folder It features two commands : "theme" : toggle between Dark & Light themes for both macOS & Alfred. "theme red" : switch to the Red Accented Alfred Theme. Here is a screenshot of the MojaveThemeSwitcher and its options:
  24. 2 points

    Search email?

    Have you read the help page for Mojave? Particularly the bit about granting Alfred "Full Disk Access".
  25. 2 points

    EggTimer v2 [updated to 2.0 final]

    Download the zip file from the repo (Clone or download > Download ZIP) and extract it. Go into the new directory, select all the files, right-click and choose "Compress 11 Items". That will create Archive.zip. change the name to Archive.alfredworkflow and double-click it.
  26. 2 points
    I've been recently playing around with launchbar and switch back and forth between it and Alfred. One thing I noticed that is pretty killer in launchbar, is the ability to use macOS services. Launchbar is indexing them by default and lets you use them either with normal text or files. A proposal could be: Type some text (or use a workflow to get the selected text and propagate the alfred window with it) Hit CTRL Select "Use Service" (or directly suggest them) Hit enter on a service to use them And the same with files. Hit CTRL and propagate the actions window with services that support the file type, next to workflow actions and default alfred actions I think this would make Alfred a lot more powerful without the need to create custom workflows. A lot of apps (the majority?) already exposes services, and being able to use them directly within alfred would be great. For example, some workflows that I manually wrote that would be possible with a service: DEVONthink: Add notes or files Delivers: Add a delivery from a text string Fantastical, Cardhop, Things: Add new entry directly from text Screenshot of available services enabled on my system when selecting text: Screenshot of available services when selecting a file:
  27. 1 point

    Script Filter Contact Output

    Thanks! Not really. Pass the details to the second Script Filter via variables or arg (perhaps as JSON-encoded data), or read them from cache. After that, it mostly depends which actions you want to connect the contacts to. For phone and email, I think you can just tell Alfred to open a tel: or mailto: URL respectively. Message/IM might be a bit trickier (dunno; never tried it).
  28. 1 point

    Night VS Light

    I found it on unsplash.com, but I could not find the original link now. Here is the original BG link: https://i.imgur.com/TWjo8GL.jpg
  29. 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
  30. 1 point

    adding to list filters via Alfred

    It only does the conversion if the json file doesn’t exist or if the modification date of the csv is newer. The files I use it with only have 80-100 entries but I haven’t noticed any performance issues when I have changed the csv.
  31. 1 point
    Welcome @Eno, ⌘, isn’t a global shortcut, but a common way to show the preferences in most macOS apps. To open Alfred’s Preferences with the shortcut, you need to have Alfred’s window as the frontmost window before pressing it. Alternatively, you can invoke Alfred and type preferences. If that is what you’re doing and it still doesn’t work, can you post a video? You can record your screen with QuickTime Player.
  32. 1 point
    Wow, that was a lot easier than I was thinking. I was making it too hard in my head. Appreciate the simple and quick response!
  33. 1 point
    It's not a valid workflow. See the GitHub thread for details.
  34. 1 point

    Python 3 Support?

    Nothing material has changed. Until Apple starts shipping Python 3 with macOS, I personally won't consider adding Py3 support. If someone else wants to do it and submit a pull request, that's a different matter. There are two related reasons for that: Firstly, it's a lot of work just to end up with a library that works exactly the same as it did before. Secondly, the net result of Py3 support would be to increase developer convenience (no more UnicodeDecodeError) but at significant cost to users (Py3 workflows can't run out-of-the-box on a vanilla macOS—users must first get their hands dirty installing developer tools). That is antithetical to the way I approach workflow development. When faced with the choice of using a preferred language/tool that isn't pre-installed or using one I don't know or don't like that is pre-installed, I have always chosen the latter. Developers having to mess around with development tools they don't like is (almost) always preferable to workflow users having to mess around with development tools at all. That's not just a philosophical position. Look in the threads belonging to Node-based workflows and they're full of users asking for help with getting the damn things running. I don't really want to be the guy who turns Python workflow development into a similar tragicomedy. All that said, I imagine Apple's next OS will have Python 3 and the above becomes largely moot.
  35. 1 point
    Hi guys! The bug is as in the title. I have no other text-expanders installed. A reboot fixes the issue, but it gradually re-appears over the next day. I've tried increasing the clipboard delay to 0,9 seconds to no avail. Running alfred 3.7 on 10.14 on a 13" MBA 2012. Any tips? ? Thanks! Martin
  36. 1 point
    oh sorry! i was on 3.2 🙈 just updated to 3.8 and it works perfectly. big thanks! have a nice day
  37. 1 point
    @politicus put the absolute path to shuf, wherever you have it installed. Cheers, Andrew
  38. 1 point
    I’ll stress OneUpdater isn’t a solution for monorepo updates; it’s a method-agnostic solution. The whole point of OneUpdater is to not tie you down in any way. That’s why it’s a single node you can copy and configure to get working, and getting rid of it is as easy as pressing ⌫ on said node. It works just as well for monorepos, no repos (any server works), and github releases.
  39. 1 point
    My main issue with Packal was always that it required me to do everything twice. Every time I updated a workflow, I had to update it on both GitHub and on Packal. The later bugginess aggravated this, but having to do everything twice was always the sticking point. Pacmax has the right idea with "paste repo URL here and that's it". Unfortunately, it doesn't currently do the right thing(s) with repo URLs.
  40. 1 point

    Pocket for Alfred

    Fabio still does bugfixes, but I don't think the workflow is in active development any more. He was studying computer science and has moved on to "bigger" things. As best as I can tell, he's heavily into Smalltalk these days, and that (or Lisp) usually means you're heading for a PhD in computer science.
  41. 1 point

    Div — simple windows manager

    Div — simple windows manager This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion. Requirements Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools. 1. Open System Preferences 2. Go to Security & Privacy 3. Go to last Privacy tab 4. On the left panel choose Accessibility 5. Unlock access to preferences by clicking lock in bottom left corner and pass your password 5. Click small `+` icon and add Alfred from the list. 6. Done Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html). Download Download Div from Packal How to use I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div. Choose predefined layout Simply type `div` in Alfred window and choose layout from predefined list. Custom bounds Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen. Custom size Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen. Hotkeys Use predefined settings and bind custom hotkeys to them to place window in common locations: - ⌃ ⌥ 1 Full - ⌃ ⌥ 2 Medium - ⌃ ⌥ 3 Small - ⌃ ⌥ ← Left - ⌃ ⌥ → Right - ⌃ ⌥ ↑ Top - ⌃ ⌥ ↓ Bottom
  42. 1 point
    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
  43. 1 point

    Mark files added to buffer

    Hi, as far as I understand, the only option to perform operations on multiple files now in Alfred is to add them to buffer first. If would be helpful, especially for folders containing a lot of files, if files already added to buffer would be marked with colour in the file browser.
  44. 1 point
    Hi guys, here's the cause of the bug. It's a known issue and the fix is trivial. They've just been sitting on it for six months.
  45. 1 point
    True it doesn't have formatting, it's plain text (which is what I want anyway). I use Markdown in my note taking so plain text works great. If I'm on a call, and need to whip out some meeting notes, I've got text templates with Markdown tags ready to go. Makes my life so much easier. I used to use text, but ran into issues where I found myself relaunching it, or wouldn't work. Thus far Alfred snippets are pretty reliable. - I do run into some lag issues occasionally, but for now, I'm rolling with the assumption that I've got too many things open and not much free memory. My $.02
  46. 1 point


    Install the minimal Alfred theme and Github repo with options setup.
  47. 1 point

    Searching Notes in Alfred

    I used the workflow @deanishe linked above but switched to a different solution all together for all my note taking. Now I just write all my notes as markdown files in Sublime Text. I put all the notes in one directory called knowledge that I put in Dropbox for syncing. And I can open any file in this directory with Alfred scoped to the path where the directory lies. I made a workflow for it too. On iOS, I use Ulysses app to edit the notes as Ulysses can consume directories of markdown files that are stored on Dropbox. The bonus point of it all is that I can then render all these markdown files to the web with GitBook so anyone can read them. If you want to keep private notes in this setup, I would create a directory in the main repo and git ignore it so it won't be pushed online for all to see. This setup works for me and I am super happy with it. Maybe you like it too. I am just not fond of keeping all my notes in a database that only Notes or Bear or any one app can read. Markdown files are super portable. Oh and Sublime Text has vim mode which neither Notes nor Bear nor Ulysses have.
  48. 1 point

    Multi-line regex replace issue

    Not sure this isn't the expected behaviour, tbh. As a workaround, you can use a capture group to keep the newline from the input:
  49. 1 point
    Using my Python library for workflows, you'd use a Script Filter and the code would look something like the below. You haven't provided enough information to actually test it, though (such as the actual API you're using), so this is an untested guess. import sys from workflow import Workflow3, web log = None def main(wf): query = wf.args[0] url = 'https://api.website.com/?domain={}&apikey={}&output=json'.format(query, apikey) r = web.get(url) r.raise_for_status() data = r.json() wf.add_item('DNS test of ' + query) wf.add_item('Expected response: ' + data['expectedresponse']) for i, d in enumerate(data['response']['server']): title = '{} {} - {} - {}'.format( i + 1, d['location'], d['resultvalue'], d['resultstatus']) wf.add_item(title) wf.send_feedback() if __name__ == '__main__': wf = Workflow3() log = wf.logger sys.exit(wf.run(main))
  50. 1 point

    Apple Music workflow with Love

    create a trigger that connects to the following applescript: tell application "iTunes" set loved of current track to true end tell This didn't used to work with Apple Music, but it does now. Adding an Apple Music track throws up error "iTunes got an error: current track doesn’t understand the “add” message." number -1708 from current track So that's not easily possible at the moment.
  • Create New...