Jump to content

Leaderboard


Popular Content

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

  1. 4 points
    Vero

    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
    Acidham

    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
    targumanu

    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
    deanishe

    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
    deanishe

    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
    Acidham

    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
    troycurtisjr

    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
    RPBarnes

    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
    deanishe

    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
    xeric

    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
    deanishe

    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
    vitor

    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
    shmulvad

    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
    deanishe

    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
    deanishe

    Search email?

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

    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
    Scott Stilson

    Search Salesforce Lightning

    Great idea. Done. Thank you for helping me learn by doing.
  28. 1 point
    Bumping this. Is there a way?
  29. 1 point
    It's not a valid workflow. See the GitHub thread for details.
  30. 1 point
    Andrew

    Date-snippets bananas

    @hecate Alfred evaluates dates based on unicode tr35: So you'll need to use the following for your initial example: {date:yyyy-MM-dd, HH:mm} For the full current month name, use: {date:LLLL} This link covers all other formatting you'll need: http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns Cheers, Andrew
  31. 1 point
    Belfong

    9th anniversary!

    I’m a Mega Supporter and all I used Alfred over the years is just to launch apps and search for files. But in my current third year, I started using some workflows. I started with the simple ones: unit conversions, paste as plain text, started using Clipboard /Snippets shortcuts only recently. What I’m trying to say is, you can’t go wrong with the Powerpack if your Mac is your daily driver because you will discover more and more features and time saver along the way!
  32. 1 point
    vitor

    Allow for modulo operations

    Welcome @FrenchMajesty (funny nickname), You can already do what you want, by starting your operations with = (in your example, = 20 % 5. It activates Alfred’s Advanced Calculator, which also allows sin, cos, tan, log, log2, ln, exp, abs, sqrt, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, ceil, floor, round, trunc, rint, near, dtor, rtod.
  33. 1 point
    I prefer YAML, but I’m thinking of something most contributors will understand how to write and that will be easy to consume by other websites/services. The universality of JSON is what might make it an appropriate choice. That’s what I’m saying, I have written such a script for Homebrew Cask that in a single line (that is mostly script-name --flag version) makes all the necessary changes and automatically submits a PR. You never have to even open the Github website. I’ve also made similar scripts for a bot that checks for and submits updates for my own taps. As to getting it merged, we usually do it in a matter of minutes, but even that can be automated with Github actions (we’re doing it). It’s also one of the reasons I never touch node Workflows. As interesting as one may look, as soon as I read npm, I close the tab. Two years before node even existed, we already had Atwood’s Law: “any application that can be written in JavaScript, will eventually be written in JavaScript”. Not to mention the documentation. The reason I’ve made a few Electron apps and zero native apps (technically I’ve made a few with AppleScript) is that I found immediate clear documentation on the features I wanted. For Cocoa, it’s a struggle.
  34. 1 point
    @politicus put the absolute path to shuf, wherever you have it installed. Cheers, Andrew
  35. 1 point
    I am planning to prioritize the actual .alfred file types, but also have the releases available for download as well. What do you think? Respectfully, I didn't say I won't support monorepos, only that I'd focus on GitHub Releases first. By having Pacmax look at Releases I believe I'd be doing the opposite of being the one to manually add the .alfred file types; PM is going to be doing the heavy lifting. I also didn't say that Pacmax would only ever look at GitHub. It just seems like a great place (if not the best place) to start, to me anyway. If it helps: The Share form is not any sort of core functionality. It's more or less a way for people to communicate what packages they'd like to see on the site while I was getting the ball rolling (namely getting the site to be a more lean experience altogether). Automation has always been on my mind, but it was important for me to get feedback from the start. I'm glad I did because without the community's feedback I wouldn't know what to tackle next (and it has helped a lot). Your concerns don't escape me, and I respect them, however this is a very new project and I hope anyone interested in it can see that I am only just scratching the surface. So to reiterate, I'm not discounting building beyond GitHub—it just feels like a great place to start (and I've got to start somewhere). I'm also not expecting to be manually managing the site much longer; that's not realistic—but I maybe didn't make that clear. I hope that better explains my position. All the best, Max
  36. 1 point
    I have to modify "group 2" to "group 1" to make it work on Mojave
  37. 1 point
    Well, that was a long & winding road. I'm new to Alfred so I'm still figuring things out. I tried everything I could to avoid using a /tmp file but this was the only way that worked. Everything else—using variables, trying to process the clipboard buffers from within the workflow itself, using external triggers etc, all failed. This seems to be due to the way Alfred processes the query buffer as it passes through the workflow. Internally, a reference like `{clipboard:11}` will always return that exact text (e.g. if used in a comparison statement from bash or python) -- it only converts it to the actual clipboard value during OUTPUT actions such as Large Type or Write Text File. The 2nd problem is, if `{clipboard:11}` contains a NULL (empty) value, instead of returning BLANK (which would be expected), Alfred insists on instead outputting the dynamic placeholder itself. So, if you have only 5 clips and you ask for 10 to be merged, the last 5 will be written out as just `{clipboard:6}, {clipboard:7}...` etc. TL;DR I could not find a reliable way to test for "empty" values and omit them from the output other than using Write Text File and then processing it with sed. This works fine though, and the script cleans up the /tmp file after itself and is pretty quick about it. If anyone knows a better way I'm all ears. But I think this is something that would have to be fixed in Alfred itself. Here's the new version: changes omits empty strings from output if you request > clips than exist in the history configurable MIN_CLIPS and MAX_CLIPS variables added notifications for success/failure https://github.com/luckman212/clipmerge-alfred-workflow/blob/master/README.md
  38. 1 point
    This worked, thank you!
  39. 1 point
    CJK

    Workflow to identify language in pdf

    Would you mind doing me a favour and just sending me the PDFs that you are using for testing purposes ? That way, I can see what sorts of content you're dealing with. This latest error, whilst very similar in nature to the one affecting the Title of the PDF document, seems odd that it would arise when dealing with a page from the PDF. It implies that there was no language detected, which in turn implies the page had no text. I can perhaps believe this might be the case for one random PDF file, but if you're presumably testing different files, then the others ought to work.
  40. 1 point
    Material Design Theme For Material Design lovers Note: I have not tested it yet on Alfred 2 Download All Themes https://goo.gl/3g9uef Download Single Theme Click the download link below the theme name Save as the file (keep the extension to be .alfredappeareance) Light Themes Material Tosca Download https://goo.gl/Zfq1oy Material Purple Download https://goo.gl/Keffj2 Material Green Download https://goo.gl/x46hAh Material Blue Grey Download https://goo.gl/7hJEuA Material Brown Download https://goo.gl/UJT1TG Material Red Download https://goo.gl/BzS657 Material Blue Download https://goo.gl/rbrnZ5 Material Yellow Download https://goo.gl/NgvVna Material Pink Download https://goo.gl/CKB8M1 Dark Themes Material Tosca Dark Download https://goo.gl/rjY8NF Material Blue Dark Download https://goo.gl/ZepPZ9 Material Blue Grey Dark Download https://goo.gl/sjeNPD Material Red Dark Download https://goo.gl/mjHefJ Hope you like it!
  41. 1 point
    CJK

    Edit clipboard before pasting

    Not a complete solution, but this establishes a hotkey that takes highlighted text in Safari, runs it through your regex, then sends the result to the clipboard. Here, I've elected to use 〈Ctrl〉+〈C〉 as a close relative of 〈Cmd〉+〈C〉.
  42. 1 point
    jackharrisonsherlock

    Minimal

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

    Mapping arguments in Workflows

    I went ahead and created the workflow for you using dummy data. You can download it here. As per your description, it's triggered using the keyword `wcp`, which accepts a single argument, currently `product1`, `product2`, ... , `product55`. Upon selection, the URL referenced by argument entered gets passed to the next action. There's an Open URL action waiting on the workflow's workspace, not yet connected to the trigger. Instead, a Large Type output receives the URL, allowing you to preview the URL fully for testing purposes.
  44. 1 point
    deanishe

    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:
  45. 1 point
    Alfred just does not show up at all when pressing hotkey. Process seems to be running (in Activity Monitor). If I force quit the process, it does not start any more. This has happened three times in two weeks. Only Mac reboot seems to help. Alfred version 3.5.1 [882] and MacOS 10.13.2 (17C88).
  46. 1 point
    If you're having an issue with a workflow you've downloaded or one you're writing yourself, please follow these instructions. It will greatly increase your chances of getting a fast and useful response. It is extremely difficult to diagnose (let alone fix) a problem you're having unless we can reproduce it. If we can't, we're mostly just guessing. As such, it's very important that you provide what we need to do that, and post it in the right place. It can mean the difference between getting help within a few minutes and not getting it at all. Other people's workflows If you have an issue with a workflow you've downloaded, do the following: Make sure you're using the latest version of the workflow. The issue may have already been fixed, and it causes confusion if you are talking about a different version of the workflow to everybody else. Read the workflow's documentation and thread. If the workflow has documentation, read it. Find the workflow's thread and read at least the original post and the last few pages. It takes a few minutes, but it might take hours or days to get a reply on the forum. The lovely members of the Alfred community generously offer their software, expertise and limited time for free. Please respect that and avoid asking questions that are answered in the documentation or on the previous page of the thread. Do not start a new thread for your issue. It pollutes the forum, fragments the discussion, and depending on who wrote the workflow, the chances that the author will see your post range from excellent to almost zero. Instead, find the workflow's thread and post your issue in there. That way, the author (and other users of the workflow) will be notified of your post, and they're the best people to answer your question. If the workflow doesn't have a thread, it's likely the author isn't a forum member, and there's probably a better place to raise your issue (e.g. a GitHub issue if you got the workflow from GitHub). Provide a meaningful error. We can't diagnose a problem from "it's not working" or a screenshot of an error message in Alfred. Be specific. Use Alfred's debugger and post the output. If the workflow has a log file, include its contents, too (unless they're exactly the same as the debugger's). Remove any private data from debugger/log output before posting. You don't want to post your API keys or passwords on a public forum. Explain what you were doing. What did you click? What did you enter in Alfred? What did you expect to happen? What happened instead? Your own workflows If you're having a problem with a workflow you're writing, post the actual, non-working workflow. Upload it somewhere (Dropbox?) and post a link. Screenshots and code snippets are not enough. If we can't replicate the problem by running the workflow, we can only guess at what might be wrong. It is unreasonable to expect us to try to recreate your workflow from a code snippet simply in order to help you. Post the broken workflow, so we can run it ourselves. It saves everybody's time. In addition, you should also post: The version number of: Alfred macOS The version of any non-system language you're using (e.g. nodejs) The version of any non-system programs you're using (e.g. ffmpeg or youtube-dl) if they aren't bundled in your workflow Any changes you've made to your macOS environment (e.g. via launchctl setenv) or the language you're using (e.g. via Python's usercustomize.py or sitecustomize.py files) It might not seem relevant, but if your workflow isn't working and you don't know why, you're likely not in the best position to determine what's relevant and what isn't. So just post the lot. It'll help you get an answer faster. Thanks to @vitor and @phyllisstein, whose earlier posts on reporting issues were consolidated into this one.
  47. 1 point
    @robdbirch Go to Alfred's preferences, under Appearance > Options (bottom left), you can set "Show Alfred on..." and choose from the dropdown menu either default screen, mouse screen or active screen. Set it to your preferred one for the behaviour you'd like Cheers, Vero
  48. 1 point
    dfay

    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.
  49. 1 point
    Hi there! It's my first public workflow. It helps to forget keyword for workflow which was not used long time. Just type ? and the name of the action and you will see a list of available actions. I hope that workflow will be useful Download Github Packal Current version: 1.0.2 Screenshot 1 Screenshot 2
×
×
  • Create New...