Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 07/03/2021 in all areas

  1. 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
  2. Chris Messina

    CleanShot X Workflow

    Ask and ye shall receive! /cc @Mr Pennyworth
    4 points
  3. 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
  4. 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
  5. This workflow can open a site-specific Google search on the domain of the selected URL. In addition to a Universal Action, I've added a Hotkey to trigger the workflow that can grab the URL of your current browser tab, to save you having to select the URL. You should be able to figure out how it all works.
    2 points
  6. Here you go: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/search-this-site Does exactly what you want (I think): 1. Select the URL 2. Choose "Search This Site" 3. Type your query and enter 4. Opens in default browser If you open up the workflow in Alfred you'll see, as you said, that there's actually not a lot to it. I used a bash script I grabbed from elsewhere to extract the domain, then a keyword step to get input, then the "Default web search" step. I haven't tested this much so let me know if there's any issues.
    2 points
  7. Sometimes, the connection between two nodes can be moderately complex: That’s two checkboxes and a text field. If I want to move that connection to another node or temporarily disable it, I open it, save/memorise it, delete it, move it to another place, redo all configuration. I’d like to be able to move a connection to a different origin or end node easily while keeping its configuration.
    2 points
  8. Connect a File Action Trigger to a Run Script Action with the following in the Script box: mv "${@}" 'YOUR_ASSETS_PATH_HERE'. Replace YOUR_ASSETS_PATH_HERE with the path to the destination directory. You can get it by selecting the directory in the Finder and pressing the Universal Actions shortcut (the same you use to get to Copy To…) followed by Copy Path to Clipboard. Repeat that for as many assets directory you’d like to make specific shortcuts for. If you want to copy instead of moving, change mv to cp -r. The above won’t work exactly as you’ve asked. It will use the Universal Actions shortcut instead of you typing “move to assets” in Alfred, but this approach also works when navigating inside Alfred and is easier to implement.
    2 points
  9. 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!
    2 points
  10. 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.
    2 points
  11. In the future, there will be significantly more control over which actions show for the context. I need to be completely happy with how it's working after 4.5 is released before adding more control. You know, I can't actually remember - I'll add a note to look into this, as it's reasonably trivial to alter this behaviour.
    2 points
  12. @Jasondm007 I actually have some pretty hefty plans for Universal Actions - I sneaked the Jump To feature in at the last moment for 4.5, so for now, it's going to be basic for the majority case of default actions... I can't wait to share some future bits
    2 points
  13. 2 points
  14. Not to detract from your main question, but there is a non-official dropbox client that uses the official public API and therefore doesn't suffer any device limits: https://maestral.app
    2 points
  15. We absolutely love and appreciate the enthusiasm you're all showing for the new features, and the possible further extension to it. If there's one thing you could do to help us make this process even better is to share your feedback in a structured and succinct way, e.g. a focused sentence or two on the feature suggestion, and a short paragraph explaining your use case. Andrew and I do our best to acknowledge feedback here, by email and on Twitter, all while continuing development, providing support and doing all the boring business stuff that has to happen behind the scenes. As such, long stream of consciousness posts can be difficult to parse into actionable feature suggestions. Again, thank you for your input, we love this community Cheers, Vero
    2 points
  16. zendude

    Firefox Assistant

    Hey All Just wanted to let people who were having issues connecting the extension with the workflow as documented here https://github.com/deanishe/alfred-firefox/issues/15 that I was able to get it to work by moving the alfred backup folder to my dropbox directory. The backup folder was originally placed in a directory that synced with icloud and also had a weird long name (e.g. "3 resources and things"). I'm not a coder at all but kinda felt that if the worklow can't find server.sh, etc... that it might have something to do with the folder length, naming, or icloud. Anyway, thanks Deanishe for this contribution. It really makes life easier!
    2 points
  17. Thanks for your request! I spent the holiday weekend (🤓) putting these themes together. Let me know what you think! Preview:
    2 points
  18. cleobis

    Calendar Workflow

    The formatting should be working now: https://github.com/cleobis/alfred-cal. Thanks to @deanishe for his tips.
    2 points
  19. From everyone replies, I think we all always want more extensibility @Andrew, I had a play on my side and actually I'm able to get what I want (with the pre-processing of the input) by calling the Universal Actions from a workflow triggered by a Hotkey (so, like I did before, but now I can get a universal actions list instead of a specific workflow when actioned with a string). Right now, I set a condition that if there's no input then I run my script to try to get the file or the URL from the front application and then pop the Universal Actions with the found value or run another workflow if there's still nothing found. So, I would say that I'm good with my request It would be great to make it faster to have it natively inside Alfred, but I think the workflow object makes it customizable quite well. I don't know if you are trying to build something in this regards during the last days, but if so I'm sure it's going to be great and if not then I'm good with my setup! To get back to @nyc2cal, yes maybe some extra usability options could be great. I also found that with the "Workflow Keyword Inputs" and "Workflow Script Filters" ticked I have a very long list of actions, so I unchecked them at the moment and find it better. However, I think it would be great to be able to configure it more than to set it to all or nothing since there's some workflow I could benefit having there. So, what I'm thinking is maybe it could be great to add an option to the Keyword and Script Filters objects to specify if we want it to appear in the Universal Actions list or not. With that, in the Universal Actions preference, instead of having toggles, it could be a drop-down menu for those 2 types (Keywords + Script Filters) to specify if we want "all of them", "manually activated inside workflows" or "none". I know we can add the Universal Action trigger inside a workflow for that, but I'm wondering how we could disable/activate it when imported from a downloaded workflow (actually, this is something that I think would be great to add to every workflow objects: being able to disable/bypass it so we could tidy our list of actions that appears in Alfred) With that, what I've been thinking that would be great is to add an option to the Universal Action trigger to make it active or not only in specific applications. I think it would be great to add the same "Related Apps" section as the Hotkey trigger so this could be a way to tidy our list and it could be a way to create specific actions list per application (some kind of a command palette) and this could be a way to create and share workflows that "augment" each other to build a list for a specific application. Those are simply some ideas since I think we will get used to filter our list with our input like we always did with the File Actions or the standard Alfred input field, but maybe this can spark you some ideas One other point, not sure if it's a bug or not, but I've been thinking that some kind of a tagging feature could be great and be used to filter a list to items tagged with the same tag. So, what I've thought was to append the same text to the action titles that I wanted to group (ex: "Copy as Plain Text [ @text ]" ; with many spaces to try to hide the tag in the action list, just tried inside a workflow and actually the tag doesn't get hidden since Alfred truncate the middle of the string and not the end), but whenever I modify the text and press Enter then the string revert to the default one. I never tried to change the Default Actions titles so maybe it has always been this way, but I'm questioning why are we able to get a text input field if it's not to modify the title then? One last thing, it is already mentioned at the bottom of the Default Actions list that some actions will only show depending on context, maybe those contexts aware settings could be editable and could be added to the Universal Action trigger?
    2 points
  20. 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.
    2 points
  21. 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):
    2 points
  22. Do the following immediately after you get the warning: "[application-xyz] cannot be opened because the developer cannot be verified." 1. Click "Cancel" on the warning dialog. 2. Open Mac System Preferences 3. Open Security & Privacy section, then the General tab 4. At the bottom in the "Allow apps downloaded from" section, you should see a message that says: "[application-xyz] was blocked from use because it is not from an identified developer." 5. Click the "Allow Anyway" button 6. Try to run the workflow again 7. You will get another warning about not being able to identify the developer, but now it has an Open button. Click Open. 8. You show now be able to run the workflow without any future problems (until you upgrade the workflow). Apple has more about this work-around at the bottom of this article: https://support.apple.com/en-us/HT202491
    2 points
  23. Ok – many thanks – I think I will be able to make that change, but could you clarify where I would find the file in question? Running a search for "client_rules.json" brings up hits in my backups of "old" workflows, but nothing seemingly related to the current workflow? Could you kindly explain where I would begin to look? EDIT: Apologies, was being silly. Didn't realise I could right click on the workflow, to show in Finder. Will tinker with it now, and see if I get it working. EDIT: Solved. Thanks a bunch!
    1 point
  24. It could go one further and allow specifying the dependency names. On Workflow install it could check for the existence of those packages and show a message if they’re not installed: “You’re missing dependencies for this Workflow. Install them with: brew install pkg-name” If the user does not have Homebrew, an extra sentence: ”To learn more about Homebrew, visit https://brew.sh” (or an Alfred documentation link). On the message there might be a way to disable the Homebrew requirement and continue using the Workflow, for advanced users. Still have to think of the advantages and drawbacks of this one. I though of the possibility of the requirements being binary names instead of Homebrew package names. The advantage of the former is that a user doesn’t truly need Homebrew installed, just the binary, but Homebrew package names don’t always map exactly to package names (making the automatic dependency message harder). Specifying the package name, on the other hand, allows for specific versions and taps to be set.
    1 point
  25. As mentioned above: It wouldn’t be a controversial decision (context: I’m a Homebrew developer).
    1 point
  26. where do you want 'hello world' to be printed?
    1 point
  27. I'm also having this same issue. I used to use Dropbox, which never had any issues with Spotlight indexing/Alfred search. I switched to Google's "Shared Drives" feature via Google Workspace, which uses Google's new combined "Google Drive" app. I did put the following into Terminal and that seems to have fixed the issue, for now: But reading other posts, I think that's a temporary fix. I also contacted Google. Here's what they said:
    1 point
  28. Welcome @kenanmike, Try this:
    1 point
  29. 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!
    1 point
  30. I just wanted to say how unbelievably happy this tool existing has made me. I am an undergrad neuroscience student and recently lost so much data from my personal Microsoft account getting locked after a data breach and was completely sick of working in word on top of that, but I needed to in order to get the functionality of Zotero. Also some of my profs require word files for submission so I felt trapped, when I preferred writing and drafting in ia Writer but would eventually have to move things back over for submission. I cannot explain how perfectly this workflow solved all my problems at once. I would still have found this invaluable if it just took care of keeping track of in-text citations, that way I would only deal with word for formatting but this goes above and beyond. Thank you so much for making this, it truly bridged a gap between where I wanted to write and where I needed to write in order to have certain functions!
    1 point
  31. Yep, fixed on my side with that build Happy to help! I don't always have a lot of time, but I like playing with Alfred between rushes of hard work and I finished some long ones not many days ago
    1 point
  32. Hi @Ilya Belsky, welcome to the forum. It sounds like an encoding problem. I've rewritten the workflow in JavaScript. It should work fine with Cyrillic now.
    1 point
  33. Hi Paulo, This seemed like just what I was looking for, but the NPM package doesn't exist, and the workflow bundle doesn't work (env vars are correct, and it reports 'Entry added to Inbox' but no new content is added to the relevant DB. Have you pulled this to work on it? TIA!
    1 point
  34. I'm a fan of Ryan Hanson's apps, including Charmstone and Hookshot. He's recently released another app called Hyperkey that is insanely useful for Alfred 4.5's Universal Actions. Specifically, I use Caps Lock as my Alfred activation key. I previous used Karabiner Elements to hook up F19 to Alfred, but discovered that it was overkill for this simple use case. Hyperkey allows me to map Caps Locks to F19 as my Hyperkey, and then F19 to Alfred without all the deep system modification: Here's the crazy awesome tie-up between Alfred 4.5 and Hyperkey: if you include "shift" in your Hyperkey setup, you can now activate Alfred 4.5's Universal Actions by pressing shift and then Caps Lock... easily the easiest keyboard combo you can imagine. Of course, would be cool if Alfred enabled this natively, but meanwhile, pretty stoked about this!
    1 point
  35. What you're asking has quite a few moving parts, and Alfred can't help with any of them (apart from moving the files). You need something to monitor your folders for new files (Hazel? A LaunchAgent? A Folder Action if Automator can still make them?), something to identify the new file(s) (unless you always delete files after mailing them), an email client with an API that supports composing new messages with attachments (which is fairly rare), and finally a script that uses the API to compose and send the email. And then trashes the files, so they don't get sent with the next email to that person. Finally, you probably want some mechanism to map each folder to a recipient. Writing a custom script for each person's directory would be a real pain. The critical question is which email client are you using? If is doesn't have the right API support, you can basically forget it.
    1 point
  36. iApple

    Calendar Workflow

    Didn't know this calendar workflow exited and thanks for fixing for Big Sur. Unfortunately Big Sur does render few workflows obsolete 🤨. Hopefully more workflows will get updated. Thanks again for fixing this one.
    1 point
  37. Yes, it should work on Big Sur. If you're getting your Google Drive files to show up in a Spotlight search, then the workflow should work. A few troubleshooting steps I can think of: If your Google Drive files do not appear in Spotlight, you need to re-index. Note that when I did this, it took a long time (~3-4 h) but it was a one-time fix. https://www.cultofmac.com/131619/fix-your-spotlight-search-results-by-forcing-spotlight-to-re-index-os-x-tips/ Check the workspace variables in Alfred to ensure it's looking at the correct location of your Google Drive files. (If I remember correctly, /Volumes/GoogleDrive is the default.) When you're looking at the workspace variables, check out the comments on the left and make sure everything is configured as instructed. I actually don't have a Mac anymore, so I unfortunately can't guide you with more detailed troubleshooting, but hopefully this helps.
    1 point
  38. This is how I've set it up: keyword -> Launch Apps / Files (with my selected files) -> Run Script where the script is Language: /usr/bin/osascript and the script is as follows: tell application "Moom" arrange windows according to snapshot named "MyLayout" end tell This assumes you've set up a Window Layout Snapshot in Moom called "MyLayout" & which is appropriate for the selected files. I've set up custom snapshots on all three of my machines for the optimal workspace layout based on screen size. Since Moom prefs. are local to each machine (and hence customized based on screen size) but Alfred prefs. are synced in Dropbox, this works great. I can use the same keyword on each machine, and get appropriate results.
    1 point
  39. Update: Version 2.3.0 is released. Get it from github https://github.com/blacs30/bitwarden-alfred-workflow/releases/tag/2.3.0 After some months I am releasing this version which adds 2 features which were requested: - The auto lock service locks the Bitwarden workflow after every start and after a configurable time read more here - The auto sync service which syncs Bitwarden in the background multiple times a day with configurable times see more here
    1 point
  40. 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.
    1 point
  41. Hi Vero Thank you for your feedback. I took the opportunity this afternoon to speak with Evernote as suggested. The following transcript may be of some assistance to forum members. you • 10:07:40 am Hi I would like to discuss an issue of Evernote integration lormel katrin • 10:07:52 am Hi! Welcome to Evernote Customer Support. lormel katrin • 10:08:14 am Can you please provide more details regarding your concern? you • 10:10:31 am Sure - I am a long term user of Evernote Premium and also the third part app named Alfred - Up until version 10 I was able to use Alfred to search my Evernote account but it appears that the Evernote upgrades now prevent Alfred from working with Evernote - are you working on allowing Alfred once again work with Evernote? lormel katrin • 10:11:31 am I understand that you are inquiring if Alfred and Evernote is already available in the new Evernote app. lormel katrin • 10:12:04 am As it seems, we haven’t built this feature into the new Evernote app. This is one of a handful of features we are still considering. lormel katrin • 10:12:06 am Thanks for letting us know this feature is important to you. I will share this information with our product team. you • 10:13:04 am Please do as this is extremely important for me and the vast majority of Alfred users from the support forums I read in Alfred lormel katrin • 10:13:19 am I understand. I'll make sure to pass your feedback to our team so they are aware of your experience. lormel katrin • 10:13:33 am In the meantime, you can use the Legacy app while our team is working on this integration. lormel katrin • 10:13:49 am Thank you for your patience and understanding. you • 10:15:54 am can the legacy app work in tandem with the current version of Evernote? lormel katrin • 10:16:20 am Yes, you can install it side by side.
    1 point
  42. Ok, Thanks. it would be very useful for me for sure. for now it makes alfred not so useful as a "snippet manager". i guess i will use keymaestro for now. waiting for it to happen
    1 point
  43. @Benben Ah I misinterpreted what you meant by "quickly search (not auto expand text)" I actually have a ticket for adding the Workflow Snippet Trigger results to both the Snippet Viewer, and the snip keyword... which I believe would satisfy what you're looking for.
    1 point
  44. Btw - just to explain my goal: I code. I love using snippets. But i also love using advanced snippets (workflows). I want to be able to quickly search (not auto expand text) my snippets and my advanced snippets (workflows), in one place. For now, i can search snippets in one place and the advanced snippets (workflows) in another, and it's very inconvenient when you have a lot of snippets (and advanced snippets).
    1 point
  45. alfred-currency-conversion Install Use npm $ npm install --global alfred-currency-conversion or download alfredworkflow file from releases Requires Node.js 4+ and the Alfred Powerpack. Highlights Set your own base currency (default EUR) Currencies: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HRK, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, and ZAR Auto update rates at 4PM CET on working days Input support locale numbers Input support for $ (USD), € (EUR), £ (GBP), and ¥ (JPY) Outputs dates and numbers in locale Usage In Alfred, type curcon, ⏎, and your amount. Contributions Please feel free to create a PR and/or make a code review! To do Only update rates on working days Refactor code Make a fixer.io wrapper Your idea here Credits alfy made by Sindre Sorhus is licensed by MIT os-locale made by Sindre Sorhus is licensed by MIT Currency rates from fixer.io via https://api.fixer.io (Updates once a day, approximately 4.00 PM CET) Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY License MIT © Jeppe Stærk
    1 point
  46. Benzi

    (faster) Menu Search

    I have re-implemented ctwise's excellent implementation of the Menu Search workflow in Swift. This version is ever so slightly faster (at least on my machine ) - YMMV. Requires OSX 10.7+ Download Setup Accessibility must be enabled for Alfred in order for this to work properly. For example, in macOS Sierra, this is configured using the Security and Privacy preference pane, under the Privacy tab with the Accessibility section selected. Alfred must be included in the list of apps allowed to control your computer. This step is required for the workflow to generate the list of menu items, and also click on a specific menu item. Here's a snapshot of what the preference pane might look like in macOS Sierra. Usage Type m in Alfred to list menu bar items for front most application You can filter menu items by name, or do a fuzzy search. E.g m new tab will match the menu item New Tab m cw will match the menu item Close Window Settings You can change the workflow environment variables to fine tune menu listings -show-disabled true/false controls if diabled menu items should be shown (default is false) - change this setting if certain items are not displayed, even though active -show-apple-menu true/false if true, menus items under the apple menu will be shown (default is false) -max-children number how many sub-menu items to load for each menu item (default is 30) -max-depth number how many nested levels if sub menus should be listed (default is 10) v1.6 and above You can also have customised settings per app. Typing ms into Alfred will give you a list of options to configure your settings.txt config file. The workflow comes bundled with a sample configuration file for reference. Your app settings will override any workflow level variable settings you may have specified. Here's the settings file I use for reference: # always show disabled menu items appFilters { app: "BibDesk" showDisabledMenuItems: true } # for Safari, ignore the History and Bookmarks # menus since loading it take a lot of time appFilters { app: "Safari" ignoreMenuPaths { path: "History" } ignoreMenuPaths { path: "Bookmarks" } } # For Finder alone, show the Apple menu entries, # and ignore any recent entries listed in the # Apple > Recent Items menu appFilters { app: "Finder" showAppleMenu: true ignoreMenuPaths { path: "Apple" path: "Recent Items" } } Change log 1.0 - Initial Release 1.1 - Added Fuzzy Text Matching for Menus If you have a menu item New Tab, then typing m nt in Alfred will match New Tab, since n and t matches the first letters of the menu text. 1.1.1 - Changed run behaviour to terminate previous script, this makes the experience slightly more faster 1.2 - Completely native menu clicking, removed reliance on AppleScript 1.2.1 - Performance improvements when generating menus using direct JSON encoding 1.2.2 - More performance improvements while filtering menu items 1.3 - Added -async flag to allow threaded scanning and populating of menus 1.4 - Added -cache setting to enable menu result caching and also set a timeout for cache invalidation 1.4.1 - Invalidate cache (if present) after actioning a menu press 1.4.2 - Slide the cache invalidation window forward in case we get invalidated by a near miss 1.4.3 - Speed improvements to caching, text search and fuzzy matching 1.4.4 - Added -no-apple-menu flag that will skip the apple menu items 1.4.5 - Tuned fuzzy matcher, allows non-continuous anchor token search 1.5 - Faster caching using protocol buffers 1.5.1 - Reduced file creation for cache storage 1.5.2 - Better support for command line apps that create menu bar owning applications 1.5.3 - Protocol buffer everything - microscopic speed improvements, but hey... 1.5.4 - Added various environment variables to fine tune menu listings 1.5.5 - Tweaked ranking of search results for better menu listings 1.6 - Per app customization via the `settings.txt` configuration file
    1 point
  47. This apparently works, but it's a right PITA. I don't believe there's anything Alfred can do about it, nor any changing of Alfred's permissions that can help. Catalina simply does not want to run executable binaries that aren't signed with an Apple Developer ID, and makes it very difficult to do so. The problem is entirely of Apple's making, and they're the only ones who can fix it.
    1 point
  48. Cool solution. It's a bummer to search the forum and find that perfect workflow solution, only to find out the link is dead.
    1 point
  49. Can you not upload your workflow somewhere more permanent? Expired links are an ongoing problem on the forum. Folks with the same problem/question come along later, find just the thing they're looking for, but it's gone because whoever posted it only uploaded it to some transitory service.
    1 point
×
×
  • Create New...