Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 11/05/2020 in all areas

  1. Alfred 4.3 is now in pre-release with gorgeous improvements to theming. We've added the ability to choose a native macOS Visual Effect view to back Alfred's window, which makes it easy to create native-looking themes, as well as more control over rounded corners. We've created a couple of themes as examples, but I'm sure you'll create some fabulous themes too! Light Experimental theme Dark Experimental theme Below are the key things to check out when creating themes in 4.3. Please read all the way to the end of this post for a few important notes!
    8 points
  2. Alfred GIF Search Download: Gif.Search.alfredworkflow Up-to-date README (this post might be outdated) This workflow lets you search GIFs on Tenor from Alfred. Here's an example of searching and inserting a GIF in a google doc: Installation Download the latest release. In Alfred, run .setup-gif-search. Usage In Alfred, enter gif keyword followed by search query. Press ↩. Use arrow keys or mouse to browse the GIFs. To copy the selected GIF to clipboard: either ⌘↩ or ⌘-click To drop the GIF into
    6 points
  3. @Mr Pennyworth While it's clever in concept, I'd personally discourage using the multi-Script Filter method you're using, even though it's unlikely to, in isolation, cause any performance issues with Alfred. If somebody installed multiple workflows which used the same method, then Alfred will be running multiple scripts on every keypress. There is definite scope for an enhanced native command history built in to Alfred. This would take some thought and design, and would be configurable and user opt-in. I would also think about a easy-on temporary private mode, much like a browser,
    4 points
  4. Andrew

    macOS Big Sur

    Just to let you know, I'm working on new theming options which will allow for rounded corners and also to use the native macOS Visual Effect view (the blur effect you get in Spotlight and various windows around macOS). A side effect of the using this native view type is getting proper window surround, and no fuzzy corners. Here is an example:
    4 points
  5. Hey! I forgot to chime in when I saw this originally - very impressive! Richer content natively within Alfred is something which has always been on the plan for the future, but this really does provide a solid stepping stone. It wouldn't be a huge amount of effort to post a distributed notification for the quicklookurl, but due to a whole host of reasons (of which you outline some above), I wouldn't make Alfred post this by default. Having said that, for fun, I wouldn't be adverse to make it a defaults write on Alfred's prefs just to see this working better, and see whe
    4 points
  6. Right, for the next 4.3 pre-release, I've added ⌃↑ and ⌃↓ to navigate the history in the default results at any point (even if you have typed a different query). These shortcuts by default are used in macOS for Mission Control, and Application Windows, so these associations will need to be disabled in the macOS Mission Control prefs for these shortcuts to work within Alfred. I should nave the next pre-release out some time this week.
    3 points
  7. FAstest eMOji Search (FAMOS) Instant search for emojis in Alfred with related keywords in 25 languages This post might be outdated, link to up-to-date README Download the latest versions: github release FAMOS speaks many languages! FAMOS uses emojibase, which is an excellent library, meticulously curated. So, all the languages that emojibase supports, FAMOS automatically does too. FAMOS is the fastest! 10x to 20x faster compared to alfred-emoji and EmojiTaco! FAMOS launches in under 20 miliseconds (imperceptible), while both the othe
    3 points
  8. Is what you want the Copy to Clipboard Output with {clipboard} in the text area and “Automatically paste to frontmost app” ticked?
    2 points
  9. A more logical solution seems to be to make OAuth less complicated. I’ve never seen anyone say they like it or found it easy to add. I’m not trying to disparage your work. I don’t question you did what best you could under the circumstances, but if even the official website recommends—on the homepage—an external service to take away the pain of implementing it, it seems something else could improve in the standard itself. Then you seem uniquely positioned for the idea above. Why not work on the generic open-source tool which would make this easier for eve
    2 points
  10. @vitor Absolutely! ☺️ Isn't the former what most programmers strive to do? Rigorous considerations of memory usage, cpu usage, disk IO, network latency etc, and meticulous design considerations. So I thought it doesn't need defending. Be as it may, I stand corrected. Looking at all the examples you posted, you're definitely not averse to quick-and-dirty hacking and tinkering The conclusion that I drew that it is a core MIT-vs-Berkeley philosophical difference seems to have been wrong! More like it was based my own lack of foresight and all-round understanding of Al
    2 points
  11. Cmd + arrows navigates in and out of File Navigation, and Alt + arrows is used for the File Buffer, so those combos are very much in use already in Alfred. It's not just a case of what's comfortable, but also what's practical without affecting existing hotkeys and habits, so quite a bit of consideration and thought has gone into this.
    2 points
  12. Alfred History Search An Alfred workflow to search through query history, and execute queries from history. Note: This post might be out-of-date. Here's the up-to-date README. Usage Download the latest release Searching Through Query History Assign hotkey trigger (⌃R recommended)While using Alfred, press the hotkey. Alfred's query history will show up: Start typing to search through the query history. Actioning any of the history entries makes Alfred search that query. Deleting Query History Type .clear-afred-query-history in Alfred.
    2 points
  13. I'm sure it was a deliberate decision to not allow user-written code to run without being explicitly called by the user. Performance is a super-high priority, and allowing arbitrary workflows to run whenever Alfred is opened isn't really compatible with that. Me, neither, but that's the way it will go down if this Script Filter trick catches on. Neither workflow developers nor users will show any restraint in building or installing such workflows because the former always think their own programs are special cases, and the latter tend not to think about such t
    2 points
  14. I'm guessing you don't realise that what Raycast is doing is about 10% of what you're actually requesting. OAuth is very complex to implement. Dealing with your own application's various keys and secrets and scopes is one thing. Building something that can handle arbitrary application IDs and scopes is a whole different ballgame.
    2 points
  15. @nikivi as it's extremely unusual for people to want to downgrade, and we always encourage people to use the latest version, we don't have any info for older versions on our website. Unlike many products, if a actual issue was found in the latest build, I'd turn a fix and release within minutes of this, which makes older builds irrelevant. Your issue you mention here was a macOS issue, and reinstalling older, and upgrading again coincidentally fixed your issue. https://www.alfredforum.com/topic/16210-422-update-broke-external-triggers/ Is there an actual reason you nee
    2 points
  16. First, I did the same as you. When that didn't work, I figured they'd probably link to that chart a lot, so I looked on the details page for a stock. And there's a big link to the chart including the symbol parameter.
    2 points
  17. Then go for the simple and obvious solution. If you’re using {clipboard:1} (i.e. a fixed number) and auto-pasting it to the frontmost app, simply add another Copy to Clipboard Output after it which also copies {clipboard:1} (which previously was {clipboard:0}) but don’t paste. Alfred won’t make it a duplicate, meaning you’re just switching the order back again.
    2 points
  18. Check the Mark item as transient in clipboard box in the Copy to Clipboard Output.
    2 points
  19. Link to better quality videos Download the code and play around: https://github.com/mr-pennyworth/alfred-extra-pane Q: What is it? A: An app that workflow creators can add to their script filters Q: What does it do? A: It renders html from quicklookurl of every item in the json. Q: How does it do it? A: By intercepting the json and by monitoring up-arrow and down-arrow keypresses. Q: How to add it to a workflow? A: By adding it to the script filter. Here's an example (from the workflow in the above GIF): notice how e
    1 point
  20. It has a Script Filter for every letter, and every time you type something it appends it to a text file. Then it reads it back when you use the Hotkey. The smaller Script Filters are self-contained and simple, so you can easily inspect the code. There’s an older Workflow on the forum (I don’t recall its name) which (as far as I know) was the first to use this technique. But it only does it for numbers (which I find more reasonable) because it’s a converter.
    1 point
  21. @chris the borders is something I'm aware of and something I'll have to _simulate_ in the theme editor. Up until now, Alfred uses the same renderer for the theme editor as the actual window, but macOS adds those window borders when you set a visual effect view as the content view of an NSWindow. In the theme editor, I'm using the visual effects view, but as a view, so macOS doesn't render the borders. I'm in two minds whether to either simulate it, or just add a note saying that macOS may add a border depending on configuration. I'll add a note about the roundness on th
    1 point
  22. If you update to the 4.3 b1193 pre-release, this should now be fixed
    1 point
  23. Took me a minute to figure out what you'd done there. That's another very clever solution. OTOH, it also kinda is. It'd be a terrible idea to convert all your workflows to run like this. But one workflow adding max. 3 results is just pure clever, imo. No luck fiddling with the "Run Behaviour" settings?
    1 point
  24. /usr/bin/python is a standard part of macOS. It's guaranteed to be the system Python 2.7, unless the user has turned off SIP and deliberately overwritten it. The way your workflow is set up, it's guaranteed to be run with the macOS Python 2.7 unless the user's OS is screwed up. You probably used the wrong pip. Alfred doesn't use your shell environment, so if you've installed a newer Python (e.g. via Homebrew), you're probably using that one in your shell, not the system Python Alfred and workflows use. Unless you're in a virtual env, you should always run pip
    1 point
  25. Vero

    macOS Big Sur

    Take a look at Alfred 4.3 and this thread for lovely updates on Big Sur theming: Cheers, Vero
    1 point
  26. I figured it out. You need go enable "Full disk access" to fix this. Everything works great now.
    1 point
  27. Hi all, just posting what worked for me, it might help anyone else. TL;DR: run the commands in the box below, then "Rebuild macOS Metadata". I'm also using Alfred (4.2.1 [1187]) and I installed Big Sur (11.0.1) recently. I was not seeing applications nor folders in Alfred. The "File Search Troubleshooting" showed similar responses as in the posts above: "Direct metadata is missing, this file is likely not indexed by macOS". I tried these solutions from posts above with no luck: Alfred Preferences / Advanced / Clear Application Cache Alfred Pre
    1 point
  28. Can’t reproduce. Delete the Workflow and readd it, if you want it reset.
    1 point
  29. Big Sur's open command has changed and sometimes does odd things if the URL isn't pre-coded. For example, in Big Sur, if you use: open "tel:+44 123 456" you get the output: The file /Users/<removed>/tel:+44 123 456 does not exist. Prior to Big Sur, you could throw anything at the open command and it would encode and open it, so the tel: url above would have opened Facetime and dialled the number. In Big Sur, you now have to use: open "tel:+44%20123%20456"
    1 point
  30. This won't have anything to do with the External Triggers, and currently is only internally being used for the URL handing from Alfred's Contacts Viewer (e.g. tel:). It will eventually replace all URL handling within Alfred though.
    1 point
  31. Which is almost certainly a macOS issue, not an Alfred one. Try logging out and back in or rebooting.
    1 point
  32. Use an Open URL element instead of a Run Script. The URLs you're generating aren't valid. You need to %-encode values inserted into URLs (e.g. the correct URL for input Profits $SNAP @ 41.89 △3.34% is kmtrigger://macro=johnyCinco%20Orig&value=Profits%20%24SNAP%20%40%2041.89%20%E2%96%B33.34%25), but Run Script doesn't support %-encoding.
    1 point
  33. Great, that clears it up. Thanks. This new version should work for you.
    1 point
  34. feppos0

    tel URL scheme

    It works now! Thank you so much!
    1 point
  35. Andrew

    tel URL scheme

    I should have a fix for this out in a pre-release later today
    1 point
  36. Little Snitch put out an update today (5.0.2) with the following change: With this, I've been able to turn off identity check for the processes I use, and so far it appears that all of my searches work as intended now.
    1 point
  37. Your code is correct, but variables don't work in Run NSAppleScript. Alfred runs that in its own process, so it can't set environment variables. Put your code in a Run Script Action instead, with Language = /usr/bin/osascript (AS).
    1 point
  38. For links that appear in Alfred's clipboard history, with this workflow: You can search using the title of the link (in addition to the URL) You can see a thumbnail of the link Usage instructions: Open alfred Type ".setup-clipboard-link-thumbnailer" (without the quotes) To go through links on clipboard, use the keyword "cliplinks", or set up a hotkey in the workflow. Download: Clipboard Links.alfredworkflow Example screenshot: What's not yet implemented (and is not very likely as I don't need these features):
    1 point
  39. This is a really interesting idea, but I think there’s a fundamental flaw: Alfred doesn’t always show results in the order they are in the JSON file. If items have UIDs, Alfred will apply its “knowledge” and sort the results based on previous user behaviour. If I understand the way your app works correctly, that means your previews will often be out of sync with the results if UIDs are used.
    1 point
  40. Yes. I did say "unless you paste it into the location bar". The point is, when you programmatically ask a Fluid app to open a URL, it always creates a new tab. And that's what matters when it comes to scripting an app (which is what you're asking about), not what happens when you do it with keyboard and mouse.
    1 point
  41. 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. Dow
    1 point
  42. No, but I also like the idea. Optionally, I’d say it could (perhaps as an extra setting) always auto-download page thumbnails when a URL is copied (save it to a cache, so be purged if needed). That way cycling through those URLs would be blazing fast, instead of having to do a web request and wait for each one.
    1 point
  43. @Vero I left Evernote behind because of missing Markdown support. At that time they considered adding MD support for over 6 years. I assume similar will happen with AS support I really don't know why EN is so screwed 😕
    1 point
  44. deanishe

    Google Calendar View

    Google Calendar View View your Google Calendar events in Alfred. Supports multiple accounts. Download the workflow from GitHub (source repo). Usage gcal — View upcoming events for the next few days gdate — View events for a specific date today / tomorrow / yesterday — View today's / tomorrow's / yesterday's events gcalconf — Change workflow settings Actions ↩ — Open an event in Google Calendar (change CALENDAR_APP in the configuration sheet to use a different app to your default browser) ⌘↩ — Open an event's location in Google or A
    1 point
  45. I just found this thread as I was tired of the delay too. I have always had Siri disabled, but despite that I think it still had the hotkey reserved. What fixed the delay for me was actually re-enabling Siri, setting to a new hotkey I'll never use, then disabling it again. It's a silly solution, but hopefully it can help someone else!
    1 point
  46. I love Alfred and it's one of the main reasons I love my Mac, but I encountered a very annoying issue while cleaning up disk space. Although Alfred successfully finds files on iCloud, it doesn't allow you to open them (for example PDF files in PDF Expert) if they are only available on iCloud. This does work if they are also locally available. In other words, it seems to pass the iCloud link as an .iCloud file to the software to open, but won't automatically download it first. Before you write it off as a third party bug (e.g. PDF Expert), it does actually work fine with
    1 point
  47. 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.
    1 point
  48. I think you can also add an alfred:ignore comment to the application if you don't want to delist it from Spotlight completely.
    1 point
  49. I want to exclude one app Tweetbot so that when I search for it in Alfred, nothing is returned. The reason I want to do it is that I work in Focus sessions similar to Pomodoro where I block all distracting things for 1 and half hour and focus on what I need to do. Only issue is that I sometimes do want to post a tweet and thus use Tweetbot's create tweet action. I activate Tweetbot app with Keyboard Maestro macro that will not open Tweetbot when I am in the focus session because I create a file at start of Focus session and erase it in the end. The macro looks like this
    1 point
  50. Slick! Thanks for the tip.
    1 point
×
×
  • Create New...