Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 07/31/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! 1. Set your base Visual Effect to light or dark under the Window Blur icon in the top left of the theme preview This will define the base of your theme to be brighter or darker. The macOS Visual Effect view is designed to be used with no additional colour, however you can still set your theme's background colour, so you can get some really interesting tints. Your best bet to get a colour tint is to set the window colour, and turn down the opacity. In the included themes, the dark version has a low opacity black background set. The light theme has a low opacity white background set. An opacity of 30-35% seems to give the best readability in most situations. 2. Rounded corners can be tweaked for the whole window, the search box and the selected result Hover over any corner of the field you're interested in and drag to set the corner roundness. 3. A few important notes This feature is still in development, so there may be some more or less visible changes over the next little while The "Share on alfredapp.com" feature isn't yet suitable for these themes, as the site isn't set up to understand the new theme settings If you want to share your theme with a friend, use the "Export as file..." option instead. As usual, check out the change log in the Update tab of the preferences to see the full list of changes in this pre-release And now for some pretty pictures, here are the two themes in their full glory! Cheers, Vero
    8 points
  2. Alfred GIF Search Download: Gif.Search.alfredworkflow Up-to-date README (this post is 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 apps that support it: drag from Alfred and drop into that app Note Firefox and Chrome don't support pasting GIFs from clipboard. That is, if you copy a GIF to clipboard and paste it, it shows up as a static image, not an animated GIF. This is not a bug in this workflow, but rather just the way these browsers have decided to handle GIFs. Both Chrome and Firefox support drag-n-drop. If you use either of these browsers, sorry, you gotta use the mouse!
    7 points
  3. Happy Monday all! After some intense development, Alfred 4.5 is here with a huge new feature called Universal Actions. Take a look at the beta page here for all the details, and a download link: https://www.alfredapp.com/universal-actions/ We've included a built-in workflow (under [+] > Getting Started > Universal Actions) to get you started, and we can't wait to see what custom actions you create Cheers, Vero & Andrew
    6 points
  4. Great new feature, but I've encountered some issues with usability. For example, I would often select text, send to Alfred, and rely on fallback searches to run a web search on that text. With universal actions, the list of actions is so long that the actions I would most like to apply are far down on the list. It would be useful to be able to manually sort the list of universal actions in the preferences, including which categories appear first, and to be able to manually sort the list of web searches in the preferences as well.
    6 points
  5. Instant Fuzzy File Search: Download List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf. Screenshots Invoke with fzf Search through tens of thousands of files Fuzzy search shows most relevant results There's a folder action too! Search even inside apps Manually create folder-specific keywords Alternative and comparison Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
    6 points
  6. @Chris Messina this is indeed a UI issue, however minor, as the underlying feature works as expected (all URLs are routed via macOS). Alfred should really dynamically be showing the correct default handler if possible. Taking suggestions from this thread (thanks for the relevant input), I've updated Alfred to show "Open With" instead of "Browser", and the default handler will automatically update as you type, for example: This should be in the 4.3.2 pre-release in the next few days. Cheers, Andrew
    6 points
  7. 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:
    6 points
  8. I've now popped a new beta build up with some fixes and improvements, available here: https://cachefly.alfredapp.com/beta/Alfred_4.5_1240_beta.dmg A quick summary of the changes: Updated Script Filter JSON to now allow for overriding the arg with a new actions key to define the selected result action items See the Script Filter JSON help page for more details: https://www.alfredapp.com/help/workflows/inputs/script-filter/json/ Improved multiple argument support Improved argument type detection, including when calling from AppleScript Added new optional AppleScript "as type" so you can force to types "text", "url", and "file", e.g. tell application id "com.runningwithcrayons.Alfred" to action {"~/Desktop/", "~/Pictures/"} as type "file" Alfred will automatically detect the argument type if you don't explicitly define the type Fix Workflow File Action trigger to correctly respect the + file type tree prefixes [regression] Added Universal Actions preview panel for when there are multiple types of objects selected (will be improved in future) Improved Universal Actions view when multiple text items are selected (preview panel will be improved in future) Fix Alfred to respect WebURLsWithTitlesPboardType on clipboard when copying multiple URLs Fix fn/ctrl action tap in Clipboard view Tweak summary text on Actions Panel view Updated "Accepts Multiple" option in File Action Trigger and Universal Action Trigger to also allow for "Only Multiple Items" Various other tweaks and improvements, with detailed change log to come when the Pre-release is uhh... released. Thanks for all your help and suggestions so far with testing, if you could let me know if any of the things you've raised so far which should now be fixed are still not working, that would be ace Cheers, Andrew
    5 points
  9. Scriptability matters for Alfred Workflows, so this is a short thread on what we know about scriptability on the new macOS version. Discussion and new data is welcome; I’ll strive to keep this top post up to date with the most relevant information. Python, Perl, and Ruby survived in the same versions as Big Sur, but PHP was removed. Shortcuts is coming to macOS, but it doesn’t mean the end of AppleScript yet: The Shortcuts app will scriptable, though the functionality isn’t yet available. It will also have a command-line tool: On June 8 there was a session going more in-depth into Shortcuts. Notable points: “We also added two new automation types for Focus and Sound Recognition”. “By the way, if your app integrates with file providers, these new Files actions will automatically work with the files that your app provides”. “We also have a new file format that lets you distribute Shortcuts as files“. (…) “This means that you can distribute your own Shortcuts on your website or in your app”. Which means we may be able to distribute Shortcuts as complements to Workflows. For M1 Macs, that may open a window to distribute everything needed to control iOS apps from Alfred. However, it’s unclear if we’ll need a ($99/year) Developer Account to distribute them in useful form, since they mention signing: “Shortcuts files are notarized by Apple to make sure they’re safe”. (…) “a new mode for sharing Shortcuts privately” (…) “Shortcuts files are signed with the identity of the person who sent them. If you need to re-sign a Shortcut, you can use the new Shortcuts command-line tool”. “Shortcuts has full support for AppleScripts and Shell Scripting”. Not dead yet! “Shortcuts is the future of Mac automation”. Taken in isolation; it’s a scary implication the other technologies are destined for the bin. But in context, they’re talking speficially about replacing Automator. “There’s a Shortcuts command-line tool which lets you list and run Shortcuts in your Shell Scripts or command-line tools”. “If you develop an app or a script that would benefit from the ability to run Shortcuts, you should use the Scripting interface. By communicating with the “Shortcuts Events” process, your app can get a list of shortcuts that the user has set up, as well as start running one. In AppleScript, you can accomplish this by telling the “Shortcuts Events” process to run a shortcut by name”: tell application "Shortcuts Events" run the shortcut named "Make GIF" end tell “Finally, macOS Monterey also includes a command-line tool that can list shortcuts and run them by name. If you have command-line tools or scripts, they can integrate with Shortcuts via this interface”. OVERVIEW: Command-line utility for running shortcuts. USAGE: shortcuts <command> OPTIONS: -h, --help Show help information. SUBCOMMANDS: run Run a shortcut. list List your shortcuts. view View a shortcut in Shortcuts. sign Sign a shortcut file. See 'shortcuts help <subcommand>' for detailed help.
    5 points
  10. vitor

    CleanShot X Workflow

    @Mr Pennyworth To find URL schemes supported by an app, reading the ${app_path}/Contents/Info.plist file and looking for CFBundleURLSchemes tag if often enough. Or doing /usr/libexec/PlistBuddy -c 'print :CFBundleURLTypes' "${app_path}/Contents/Info.plist". But I think you’ll like this more: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump URLSchemeBinding. It shows every available URL scheme (on your machine). As to how to use them, that’s the job of the developer’s documentation.
    5 points
  11. vitor

    Questions from newbie

    Welcome @bebek. To both the Alfred forums and macOS! For many (most?) of us, Alfred is the first app we install on any Mac and we almost feel useless using macOS without it. It can get that ingrained in your usage. Like every closed-source software, you have to trust its creators. I wholeheartedly trust Alfred’s team (@Andrew and @Vero) and I recommend you stick around to meet them in the forums. You’ll see they care deeply for Alfred’s users and they have everything to gain from being truthful. Plus, they’re nice people in general. That’s indeed something different, and your reluctance in understandable and healthy. You definitely should install Workflows—like any other software—from people you trust. That said: In these forums, you’ll find plenty of prolific developers with dozens of released Workflows. Get to know us and decide if you should trust us. I think you should! I’ve never heard of an invasion of privacy or security from an Alfred Workflow. In fact, most (all?) don’t even so much as have analytics! The overwhelming majority of Workflows are built in scripting languages, meaning anyone can inspect the code. Hiding something malicious isn’t too viable, especially in popular Workflows. The latter, as I don’t see myself giving up Alfred any time soon. But no software satisfies everyone’s needs and we don’t know each other, so I can only tell you what I’d recommend myself.
    5 points
  12. Find and watch movies or shows instantly My workflow makes it really easy to quickly search for a movie or tv show, find the different services streaming the content, and go right to the content. Learn more here! https://github.com/dverb20/watch_now_workflow/releases/tag/v1.2 I promise it works much more quickly than the gif shows! I'd love some feedback or for someone to put in a PR for improvements
    5 points
  13. deanishe

    Run macOS Services

    Run macOS services from Alfred… on the current selection on the clipboard contents on files via a File Action Installation Download the latest version from GitHub and double-click to install. Usage Use keyword services to run a service on the current contents of the clipboard. Configure the included Hotkeys to run a service on the current selection or clipboard contents. Use the macOS Services File Action to run on selected files in Alfred. For more info, see the README on GitHub.
    5 points
  14. Deleting a bunch of code is so satisfying! no more mouse tracking no more keypress monitoring no more accessibility hoops to get window events and sizes no more guessing "how does Alfred rank results?"
    5 points
  15. @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, to prevent typed queries being stored, and also allow for expiry. The history would be likely stored in an sqlite db so it could also be accessed by workflows where necessary. Further to this, one thing on my future plan is to allow users to specify specific workflow objects to be included in the default results. Again, this will require some thought as it should be a user who decides this, and not a workflow developer. This would facilitate workflows like this one, and Calculate Anything, to work without needing multiple script filters. At the point that this happens, Alfred may start profiling script tasks and warning if they are taking too long or consuming too much CPU. Cheers, Andrew
    5 points
  16. 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 where you take it Cheers, Andrew
    5 points
  17. This is a workflow for searching and adding bookmarks to Raindrop.io. To search your Raindrop.io bookmarks, open Alfred, type r, space, and then your search query, and the results will show directly in Alfred so that you can select one and press enter to open it in your browser. Raindrop.io collections and tags will also show in the search results together with bookmarks, and you can select them to browse or search their content. Before you have started to type a search query, you also have the option to browse your collections instead of starting with a search. If a web browser is the frontmost app when you open a bookmark from this workflow, it will open in that browser. If you are working in another app, the bookmark will open in your default browser. Hold the cmd-key to view the URL for a bookmark. Hold the ctrl-key to view the description for a bookmark. Hold the option-key while pressing enter, or use cmd+c to copy the URL instead of opening it in a browser. Press enter before you have started typing a search query, and Raindrop.io itself will open in your active web browser. To add a new bookmark to Raindrop.io, first make sure that you have the webpage you want to add opened in a browser and that it is the frontmost window, and then open Alfred and type ra followed by a space In the first step you choose collection for the new bookmark, and you can either type to search for the collection you want to add the new bookmark to or just select one in the list. Hold the cmd-key to save when you select the collection, and skip setting a custom title or adding tags. In the second step you get to change the title that the bookmark is saved with. Hold the cmd-key to save and skip the tag adding step. In the third step you get to add tags to your new bookmark. You can either simply type them out, or select from a list of tags that matches what you have started to type. Separate multiple tags with comma. Hold the cmd-key to save when selecting a tag in the list, and skip the option of adding more tags. The Firefox support for adding bookmarks was made possible with the help of deanishe's great workflow Firefox Assistant, which needs to be installed in Alfred for the Firefox support to function. Get it here: https://github.com/deanishe/alfred-firefox If the workflow is not authenticated with Raindrop.io when you initiate it, you will be taken to the authentication process. To set keyboard shortcuts, go to the "Search Raindrop.io" workflow in the Alfred preferences and look in the top left corner, where you can set keyboard shortcuts for searching Raindrop.io, or for adding bookmarks. To change other settings, go to the "Search Raindrop.io" workflow in the Alfred preferences, and click the [𝒙] button in the top right corner, where you get descriptions of the options in the information view to the left, and set the options by changing the value of the variables to the right. One special thing with this workflow is that it detects if the topmost window is a browser window, and then opens the search results in that browser. So, if you are currently working in Firefox, your bookmark will open in a new tab there, and if you are currently working in Safari, or in Chrome, the bookmark will open there instead. If the topmost application is not a browser, the bookmark will be opened in your default browser. This makes this extension perfect for those who use more than one browser. You can always open bookmarks in the exact same way, and still have them displayed in the browser you are currently using. The supported browsers are: Safari, Chrome, Firefox, Edge, Brave, Vivaldi, Opera, Chromium, Chrome Canary, Safari Technology Preview, NAVER Whale (and SeaMonkey, but only for opening bookmarks) Download at Packal here: https://www.packal.org/workflow/search-raindropio View at GitHub here: https://github.com/westerlind/alfred-raindrop-search Changelog 1.6.1: Fixed an issue with icon caching. 1.6: Updated to the new Raindrop.io icon, added support for the NAVER Whale browser, fixed a bug with the authentication mechanism. 1.5: Many changes: Tags now display in search results, and you can select them to list or search for bookmarks with that tag When adding a new bookmark, you can now set your own title for it, and add one or more tags While adding tags, you can either simply type them out, or select from a list of tags that matches what you have started to type You can add more than one tag by separating them with a comma: tag1, tag2, tag3 If you type out a tag that does not exist yet, it is created when you save the bookmark Hold down the cmd key if you want to save right away when selecting a tag in the list. Just pressing enter leaves the option of adding more tags. If you want to skip the new options while adding a bookmark, hold the cmd key when you select collection or when you set the title, and the options that follow will be skipped and set to default (Title from the webpage, and no tags) When adding bookmarks, the description is now set to what is specified in the webpages meta description tag, if there is one. This means that in most cases you will get the same description for your new bookmark as what is seen as description for that webpage on search engines. If there is no meta description tag, no description is set. In search results, the collection name, tags and domain name of a bookmark is now shown in the subtitle instead of the first words of the description, like before. This is because that is likely more useful in most cases. You can view the description by holding the ctrl key (And there is a setting to change this back if you would want to, see below) There are now settings! You set them by changing Alfred Environment Variables, and there are now two of them for changing what the bookmark subtitles show, and for changing how subcollections are displayed. 1.4.1: Fixed a bug that would make the bookmark adding feature fail in many cases. If that didn't work for you before this, it probably does work now. 1.4: Raindrop.io collections will now also show in the search results together with bookmarks, and you can select them to browse or search their content. Before you have started to type a search query, you also have the option to browse your collections instead of starting with a search. 1.3.1: Fixed a bug that made the collection list not loading under certain conditions. For example the first time you tried to add a bookmark. 1.3: Support for adding new bookmarks to Raindrop.io from the currently active browser. 1.2: Added option to have a keyboard shortcut for direct access to the Raindrop.io search, and added the ability to hold the option key while pressing enter to copy the link instead of opening it in a browser (you could already copy the link with cmd+c before, and that is still possible) 1.1: Implemented a proper authentication mechanism, so that this is now handled in a simple to use way that is initiated directly from the workflow if it senses that you are not authenticated yet. 1.0: Uses Raindrop's new public API to make the search inside Alfred, so that you can open the bookmarks right from Alfred without having to ho through the Raindrop.io website first. 0.9: First version. Could only open the Raindrop.io website to view the results of your query, as Raindrop's public API was not released yet
    4 points
  18. Mr Pennyworth

    Better Dictionaries

    Better Dictionaries Better search and live previews for built-in macOS dictionaries. This post might be outdated, link to up-to-date README Download the latest version: Better.Dictionaries.alfredworkflow Features IPA (phonetic) pronunciations: Press ⌘↩ to hear the pronunciation.In-Alfred live previews with colors that automatically adapt to Alfred's theme: Reverse search: More relevant search results: left: macOS/Alfred built-in search, right: BetterDict If one word has multiple, unrelated meanings with different origin, they are showed as diffrent entries (in the above example, see "arm" has two entries at the top)Import any compatible dictionary Setup After importing the workflow, first type .setup-better-dictionaries into Alfred and follow the instructions for granting permissions. Importing a Dictionary After setup, type .dict-import into Alfred. Select the dictionary you want to import. Dictionary-specific Keywords and Hotkeys After a dictionary is imported, a script filter and a hotkey trigger is automatically created into the workflow editor. Freshly-installed workflow without any imported dictionaries: Two hotkeys and keyword triggers each automatically added after importing two dictionaries. They come pre-labeled with dictionary names: This allows you to assign hotkeys and keywords for specific dictionaries. For example, below you can see how I have manually assigned keywords thesaurus and defn to the thesaurus and dictionary respectively. In addition, I can trigger the dictionary search using ⌃⌥⌘D. Word Lookup You can use the hotkeys/keywords created above for directly searhcing specific dictionaries. That's the recommended way for dictionaries that you use frequently. For the infrequently used dictionaries for which you haven't assigned any hotkeys/keywords, follow this: 1. Type lookup into Alfred. You'll see a list of all dictionaries imported into BetterDict. 2. Select the dictionary to search, and type the search query. Notes and Warnings [*]Importing a dictionary could take as much as 30 minutes on old machines or if there's significant CPU activity from other apps.[*]After each mac restart, for the first time when you run the workflow, expect a comparatively slower search. Subsequent searches should be instant.[*]This workflow takes a LOT of space on disk. Take a look at the comparison: # Built-in dictionaries Oxford Thesaurus: 7 MB Oxford Dictionary: 36 MB # After importing into BetterDict Oxford Thesaurus: 101 MB (html files) Oxford Dictionary: 442 MB (html files) Search index for two: 730 MB (apart from html) Known IssuesThe workflow doeesn't work if the theme is Alfred Classic. If you must use that theme, duplicate that theme and use the duplicated one.
    4 points
  19. Chris Messina

    CleanShot X Workflow

    Ask and ye shall receive! /cc @Mr Pennyworth
    4 points
  20. WireGuard Control Simple workflow that toggle on/off any existing WireGuard VPN tunnels. The workflow is written in bash, so it should be pretty robust against OS updates etc. Download: https://github.com/Chrede88/alfred-wireguard/releases/tag/v1.0 Instructions: Use the keyword "wguard" to activate the workflow.
    4 points
  21. deanishe

    Questions from newbie

    Absolutely. Alfred doesn’t upload any data to its creators or anyone else. In theory, it's potentially risky. In practice, it's just not an issue. Alfred is too small to be an attractive target. But If someone did create a malicious workflow, there are enough paranoid users (like me) running all manner of security software that it would be quickly spotted. If you must worry about something, worry about bugs, not enemy action.
    4 points
  22. Alfred internally has a URL scheme to open the preferences to certain pages, sometimes used by the ? keyword. I'm reluctant to make this a public accessible feature as this makes it significantly more tricky to make changes in the future for something which won't be used much. Having said that, in my wider plan, I do have some ideas written down to make a configurable user-facing "preferences" per workflow which would show when installing a workflow.
    4 points
  23. Happy to kick off 2021 with a new workflow to quickly access Instagram's web features. It's not very clever but it just speeds up the way I access parts of Instagram. Supports keywords like @, #, dms, my, and download. Get Instagram Toolkit for Alfred
    4 points
  24. Great! Next time, let's do this without all the drama.
    4 points
  25. Thanks @Alfred0! My most favorite use-case is actually something that I hadn't originally thought about: "Search Google as You Type" Google has become more and more of a question-answering-machine. So many times, I just want a quick answer and am not looking at reading articles/blogs etc. For those cases, the mode of operation is "search google -> look at result -> move on". The extra pane fits so well for them! And ofc, pressing enter would open the same page in browser if I want to interact with that page further. @Andrew The above involved writing this script filter: I would agree that writing such a script filter is a minimal-effort, no-hassle thing. It does feel like a teeny-tiny duplication-of-function though, given that Alfred already has awesome web-searches. Is there a way to access the URL the web-searches are building? Or, would it be possible to expose those URLs through press-secretary? Or, is that not desirable due to privacy concerns? Also, is there a programmatic way of accessing the web-searches? cc: @deanishe @vitor (that way, someone could programmatically build a workflow mirroring the web-searches and their keywords if they want) I scoured through various plists and alfdbs, but couldn't find where they are stored... Are they stored in some proprietary format / right inside the binary? Or did I miss something obvious? Having said all this, I must agree I don't really foresee much value in doing this for all web-searches because with the exception of google and wolframalpha, I would assume most of the searches are such that they require further interactions with results (like clicking a link, copying some text etc). Aside: Here's a different (vertical) configuration I've been toying with:
    4 points
  26. shmulvad

    TinyPNG

    An Alfred 4 workflow for quickly compressing and resizing images using TinyPNG. Simply select a collection of images or a folder in Finder and activate the workflow. Installation and Getting Started Install alfred-tinypng workflow. All further updates are handled automatically. You will need to configure the workflow with an API key from TinyPNG. Type tinypng_api to get a link to the pagewhere you can get your API key and to actually set the key when you have gotten it. Usage Select either a folder, image file or a number of image files in Finder. Afterward, open Alfred and type tinypng. You are presented with the following choices: Choose an item based on what you want. When selected, the workflow will start compressing/resizing the image(s). After it is done, they will be saved to the same directory and with the same filename as the original image. The original image will be preserved with .bak prepended before the file extension. I.e. if compressing img.jpg, this will now become img.bak.jpg and the compressed image will be saved as img.jpg. Refer to the TinyPNG documentation for a full explanation of the different resizing options. Why? Another TinyPNG workflow already exists It doesn't support choosing the files based on what is selected in Finder (which I personally prefer). Only simple compression is supported whereas all TinyPNG compressions and resizing options are supported in this workflow. It seems to be abandoned by the creator (has not been updated since 2015). Credits The workflow makes use of the following: OneUpdater by vitorgalvao for handling automatic updates. TinyPNG Python API Code and more can be viewed on the associated GitHub-repo. If you find this workflow useful, stars are appreciated.
    3 points
  27. Hey there! 👋 I made a small workflow to add events to the calendar (stock Calendar app) with "natural language" (well... not really super sophisticated, but it feels "natural" to me in the sense that it's similar to how I create calendar events), similar to what Fantastical does. It works pretty good for me, and I thought to share it in case it can be useful for someone else as well It's nothing fancy obviously, at the moment it can do some simple things like this: "cal buy groceries tomorrow at 5pm" "cal meeting next wednesday for 3 hours at 3pm PDT" "cal in 2 hours get a break for 10 minutes" A couple notes: it supports only 1 target calendar at the moment, with the name specified in the `calendar` workflow variable it's written in Go (with `awgo`, thanks @deanishe!), for no particular reason rather that it's what I usually use for my projects, which means that it's compiled and it will bring up the annoying "verified developer" popup on macOS 10.15+ it should work on M1 via Rosetta, but I don't have a M1 Mac to make sure myself. I also thought about bundling the arm version with the workflow and/or creating separate downloadable workflows, if somebody is interested I can do something for that Here's the link -> https://github.com/ruggi/calfred/releases/latest Stay safe!
    3 points
  28. mmroczka

    Alfred Wifi Speedtest

    Alfred Wifi Speedtest Alfred Wifi Speedtest is a workflow for Alfred 4, that uses speedtest-cli and reports back in a notification the upload/download speeds of the current wifi you're on. Why? Since COVID hit, my wifi speeds have plummeted (Verizon cap/bottleneck maybe?). I hate needing to google for a wifi speedtest every time I have to check if my wifi speed will be good enough for the call I'm about to join. I have to open another tab, ads clutter my screen while running the speedtest, and it's one more thing cluttering my screen. This workflow makes a wifi speedtest just an alfred keyword away. Important You will always find the latest version, changelog and updated documentation on GitHub as is difficult to use the forum to keep track of updates and support. Download Download directly from Github releases page, make sure to download the latest release. Download here. Installation Instructions After downloading the workflow from the release page, be sure to install the wifi speedtest-cli using the command below brew install speedtest-cli Then, simply run the Alfred workflow by summoning Alfred and typing speedtest. This is my first real contribution to any sort of open source community so suggestions are welcome! I thought about adding automatic updates, but figured something is better than nothing to start and I can iterate on this if people have suggestions/feature requests. Thanks in advance for any suggestions to improve this workflow!
    3 points
  29. I actually already have a ticket for the Action in Alfred workflow action to pre-select an action, but I ran out of time in 4.5. This will be in Alfred in the future though, then you'll be able to connect a hotkey to it
    3 points
  30. I've created a new Bear Alfred workflow here: https://github.com/drgrib/alfred-bear It is faster compared to the current Bear Alfred workflow because it is written in Go instead of Python and has optimized SQL queries. It also adds tag searching and autocompletion, link pasting, and clipboard content to note on creation. I do appreciate the author of the original Bear Alfred workflow because I started mine from his design.
    3 points
  31. It occurs to me that Quicksilver's Radial Menu Actions UI would be a pretty sweet solution here... i.e. make a selection (or not), tap your Universal Action hotkey and a menu system like this could appear on top of the selection (obviously modernized):
    3 points
  32. So you’ve just updated to the new buggy shininess released by Apple. Congrats! But thread lightly. At all costs, you should avoid installing a beta macOS version on a machine with data you can’t afford to lose or waste a day resetting. In the course of your beta trial, you’ll bump into bugs and general issues. Some will be related to Alfred and Workflows, which will make you tempted to jump on this forum for help. Stop! Then wait. Ask yourself “is this a bug I should be reporting?” The closer to WWDC21, the likelier the answer is “no”. The overwhelming majority of bugs at this point will sort themselves out. And they are inconsistent. At the time of writing there have been two comments from users on the new macOS beta: one said Alfred worked, the other that it didn’t. At this point the new beta is so unstable we can’t even rely on a consistent experience between users, meaning no way to isolate and understand problems—effort spent in that direction wold be wasted. Avoid drowning the forum with unactionable bug reports. In general, if you don’t have enough knowledge or skill to figure out the cause of the problem, you should refrain from installing a beta OS. Please avoid filling but reports if that’s the case. Or file them at Apple, since it’s their end causing the breaks and giving them feedback is the point of installing their beta OS. So when should you start reporting general Alfred bugs? Look at the bug reports subforum. Do you see a “macOS 12.0 Monterey Bugs & Issues” section? If not, it’s too soon. What about Workflows? You should follow the same logic. If a Workflow stops working, either the developer will know because they are using the beta, or they won’t know and won’t be able to fix it anyway because they are not on the beta. There are exceptions to the above, but few. If you do make a bug report, please make sure to follow the instructions. Do that, and everyone will be more willing to look into your issue sooner and help get you sorted. Thank you. Have fun with the new features.
    3 points
  33. This workflow allows you to search browser tabs from Chrome, Brave, Vivaldi & Safari. GitHub: https://github.com/epilande/alfred-browser-tabs Download: https://github.com/epilande/alfred-browser-tabs/releases/latest/download/Browser-Tabs.alfredworkflow Commands chrome tabs {query} – Fetch tabs from Google Chrome and filter based on query. brave tabs {query} – Fetch tabs from Brave Browser and filter based on query. vivaldi tabs {query} – Fetch tabs from Vivaldi and filter based on query. safari tabs {query} – Fetch tabs from Safari and filter based on query. Copy to clipboard Holding the CTRL key while selecting an item will copy the selected tab URL to your clipboard. Demo Screenshot of workflow
    3 points
  34. I just release version 1.2.6 of the workflow, which has the following changes: Match 3 and 4 digit codes if they immediately follow "code" or "is" (e.g. "your code is 1234", "enter code 573 to log in") Thanks to @luckman212 for the PR! Download the latest release: https://github.com/squatto/alfred-imessage-2fa/releases/download/v1.2.6/iMessage.2FA.alfredworkflow
    3 points
  35. biati

    Calculate Anything

    A new update has beed released 3.0.0 New: Now the Workflow settings are saved in the workflow variables.. New: Added support for data storage: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte, Exabyte, Zettabyte, Yottabyte, bit, Kibibyte, Mebibyte, Gibibyte, Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte. New: Added US Gallon in Volume conversions New: Added Fluid Ounces in Volume conversions New: Gallon now defaults to US Gallon (3.78541 Liters) to mimic the same results as other converters. You can sill type `1 uk gal in liter` or `1 ukgal in liter` `1 uk gallon in liter` or `1 us gal in liter` New: Pint now defaults to US Pint (0.473176 Liters) to mimic the same results as other converters. You can sill type `1 uk pint in liter` or `1 uk pint in liter` `1 uk pt in liter` or `1 us pint in liter` New: Added stopword `as` so you can type `1 kilometer as meters` or `1km as m`, etc. New: Added stopword `en` (spanish) so you can type `1 kilometro en metros` or `1km en m`, etc. New: When downloading rates the workflow will rerun it's query to update the results New: The workflow was restructured and some parts were rewritten New: Added millas, milla, miles, mile, keywords so you can type `4 miles in feet` New: Updated documentation and examples Improved: Updater, now displays notifications using alfred and will also notify you in the results Improved: Updated translations Improved: Added space between number and unit/currency for better readability Improved: Removed some dependencies Fixed: Subtitle not formatted according the currency locale in crypto conversions Fixed: Error in subtitle for time conversions (milliseconds) Fixed: Incorrect Time Unit Conversion Fixed: Incorrect crypto conversion when downloading updated currency rates Fixed: crypto currencies result now displays default workflow icon instead of an empty space Update directly from the workflow or download the latest version from https://github.com/biati-digital/alfred-calculate-anything/releases
    3 points
  36. Welcome to the forums, I have toned down the original title, as both it and the top of your post punch down on other Workflow developers who also worked hard on their converters. The Alfred forums aim to foster a respectful community where we try to support each other and have everyone’s Workflows be better. The “best” workflows are subjective. The power of Alfred lies in everyone being able to decide on their own tradeoffs. By requiring users get an API key, your Workflow is already disqualified for plenty of people. While it’s fine to ask for donations, that in conjunction with the rest of the post and title made it look like spam. We don’t know you yet and can’t even trust you’ll stick around and fix bugs in your work (almost no one makes a living on open-source donations, and none of those are making Workflows). Please get to know the community (and let us know you) before making definite claims.
    3 points
  37. I guess they were referrring to So storing both the encrypted data and the en-/decryption key in the same unprotected storage ("plainly on disk") is indeed a horrible idea. Storing it in a place that is potentially vulnerable to direct access via malicious websites in case the browser itself is attackable via a browser vulnerability is another issue. The latter is the reason why it is generally not the best idea to use a browser's own password management feature.
    3 points
  38. @peegeebee If by workflow, you're referring to the default web search for Google Translate, the URL structure was changed by Google a couple of days ago. If you update to the Alfred 4.3.2 pre-release (by going to the Update tab, choosing "pre-releases" from the dropdown menu at the bottom and updating), you'll see that this URL has already been updated to reflect Google's change Cheers, Vero
    3 points
  39. Silly me, I know what I did wrong. I used command space bar to bring it up but this launches Spotlight! Now that I use Option Space everything is working fine. So sorry for being so stupid and thank yuo for your time
    3 points
  40. @troycurtisjr With help from someone on reddit, I was able to cobble together code that tests for Do Not Disturb status on Big Sur. The plist file ~/Library/Preferences/com.apple.ncprefs contains a plist item dnd_prefs. That item contains a base64-encoded binary plist (bplist). When that is decoded, if DND is enabled, it would look something like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>dndDisplayLock</key> <false/> <key>dndDisplaySleep</key> <false/> <key>dndMirrored</key> <false/> <key>facetimeCanBreakDND</key> <false/> <key>repeatedFacetimeCallsBreaksDND</key> <false/> <key>userPref</key> <dict> <key>date</key> <date>2021-01-15T04:35:29Z</date> <key>enabled</key> <true/> <key>reason</key> <integer>1</integer> </dict> </dict> </plist> The presence of the <key>userPref</key> and the <key>enabled</key> within the adjacent <dict></dict> indicate DND is enabled. So the following code produces 1 if DND is enabled, and 0 if it is disabled: #!/bin/zsh dnd_enabled=$(plutil -extract dnd_prefs xml1 -o - ~/Library/Preferences/com.apple.ncprefs.plist | xpath -q -e 'string(//data)' | base64 -D | plutil -convert xml1 - -o - | xpath -q -e 'boolean(//key[text()="userPref"]/following-sibling::dict/key[text()="enabled"])') echo $dnd_enabled Note: there seems to often be a lag time of a few seconds before the result reflects any change to DND. Feel free to incorporate that in your workflow.
    3 points
  41. Thanks for the feedback, I'll be sure to allow for the old (or better) behaviour back. It's worth adding, one other reason I changed the default behaviour was because you had this awkward look with rounded corners: But you're right, vanity should definitely not take precedence over function.
    3 points
  42. I am happy to change the Terminal Action to not trim. uhhh what is BOMs? *google search* Ah yeah cool, I'll keep trimming these...
    3 points
  43. Drag and Drop snippets between collections is already in the plan, so you can expect this in a future release
    3 points
  44. @Mr Pennyworth If you update to 4.3 b1199, you can now set the following pref: defaults write com.runningwithcrayons.Alfred experimental.presssecretary -bool YES You'll need to restart Alfred after setting this preference, then subscribe to the distributed notification: alfred.presssecretary You'll get relatively detailed output, for example: { announcement = "selection.changed"; selection = { objectuid = "D51F7B33-AE36-4A45-91FF-E983659833EF"; quicklookurl = "file:///Applications/Safari.app/"; resultuid = "user.workflow.1B09DD22-0FDA-43B0-88DE-FBC92B83DA70./Applications/Safari.app"; subtext = "/Applications/Safari.app"; title = Safari; workflowuid = "user.workflow.1B09DD22-0FDA-43B0-88DE-FBC92B83DA70"; }; view = default; windowframe = "NSRect: {{921, 884}, {718, 259}}"; } Announcement types are as follows: window.shown - The Alfred window has been shown on the screen window.hidden - The Alfred window has been hidden context.changed - The view has changed from e.g. the default results to file system navigation selection.changed - The selected item in Alfred has changed The different contexts are as follows: default navigation actions music (note: actions and music don't post out selection notifications) Important note: This feature is experimental, and there is no guarantee that it will remain in Alfred in the future. Having said that, if it's removed, it would likely be replaced with a more robust solution. Let me know how you get on Cheers, Andrew
    3 points
  45. We all know it’s there. We just don’t click on it.
    3 points
  46. 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
  47. FAstest eMOji Search (FAMOS) Instant search for emojis in Alfred with related keywords in 25 languages and Google Emoji Kitchen integration This post is 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 other workflows take hundreds of milliseconds to launch (very much perceptible). The reason FAMOS exists is that I wanted my emoji picker to: - launch instantly - search with zero lag - let me pick skin-tones for each individual emoji Skin-tone prefs for each individual emoji I like my emojis to reflect my skin-tone correctly. And also hair color! That means, I might not always get both. So, I want hand-emojis to have my skin-tone, but face-emojis to have my hair-color even if that means wrong skin-tone. In addition, if you're a stickler like me, you will understand that I want one skin-tone for the palm and a different one for the back of the hand. Back of the hand is a shade darker than the palm, isn't it! Search results show if an emoji has multiple tones available: Hold command: After pressing command+enter: From now on, the chosen tone becomes the default tone for this emoji: Feature comparison Both alfred-emoji and EmojiTaco are excellent workflows, and they have tonnes of features that FAMOS lacks, and has no plans of implementing. You should definitely check them out! Downloads Chinese, Traditional apple joypixels Chinese apple joypixels Danish apple joypixels Dutch apple joypixels English, Great Britain apple joypixels English apple joypixels Estonian apple joypixels Finnish apple joypixels French apple joypixels German apple joypixels Hungarian apple joypixels Italian apple joypixels Japanese apple joypixels Korean apple joypixels Lithuanian apple joypixels Malay apple joypixels Norwegian apple joypixels Polish apple joypixels Portuguese apple joypixels Russian apple joypixels Spanish, Mexico apple joypixels Spanish apple joypixels Swedish apple joypixels Thai apple joypixels Ukrainian apple joypixels
    3 points
  48. Ok, I've published v0.3.2! This should please @Bemawr and @Voland and any other Tweetbot users! (Albeit, Tweetbot has a much more limited set of URL schemes to work with). 🎩 Download the latest. Changelog [v0.3.2] - 2020-09-06 Fixed Quick fix for missing non-personalized `users` query. [v0.3.1] - 2020-09-06 Fixed Replaced “(from:{var:account})” with “from:{var:account}” (no parens) from app searches. Fixed on errant search that targeted videos rather than all tweets. [v0.3.0] - 2020-09-04 Added Support for Tweetbot URL Schemes by setting tweetbot as platform variable (thanks @bemawr!) (Closes #3) Support for nearby searches: tweets photos videos users keywords to go to: hashtag page topics Alternative keyword ! for notifs Descriptive notes in Workflow OneUpdater (Closes #6) Changed Added service and domain variables to make it easier to develop other Toolkits Drastically increased support for Twitter for Mac thanks to new routes included in 8.34 (thanks @nolanobrien!) (Closes #4) Removed followees keyword
    3 points
  49. Acidham

    Resize Image

    Seems to be an issue with Image Events under Catalina: https://forums.developer.apple.com/thread/124420 To fix there is a simple solution: https://darjeelingsteve.com/articles/Fixing-"Image-Events"-AppleScripts-Broken-in-macOS-10.15-Catalina.html
    3 points
×
×
  • Create New...