Jump to content


Popular Content

Showing content with the highest reputation since 03/31/2020 in all areas

  1. 2 points

    Add directory for synced data

    Like alfred_workflow_cache and alfred_workflow_data, there should be a variable (alfred_workflow_synced?) pointing to a location where we can save personal Workflow data that should sync across machines.
  2. 1 point
    @himat Alfred uses a very efficient in-memory method for doing snippet keyword lookups, and is very conscientious about battery / CPU usage. While having snippet expansion enabled does make Alfred look for keyword matches on every keystroke, the time taken to lookup per keystroke is always shorter than 1/10,000th of a second (and generally much faster than this), which is less than many routine macOS tasks which are going on the whole time under the hood. In my analysis, it makes very little difference if you have 10 or 1000 snippets. The most time consuming part is the macOS accessibility interactions. Cheers, Andrew
  3. 1 point

    Possible to wildcard match snippet keywords?

    I want to run a program every time I type something like ";today;" But is there any way right now to do a pattern matched snippet so that I could have a snippet using regex like ";.*;" ? Basically I want to make a date workflow where if I type in ";tomorrow;" it will replace that text with tomorrow's date. This seems like it would be a lot more seamless to use rather than having to cmd+space to bring up alfred, typing in the workflow keyword, and then typing in "tomorrow".
  4. 1 point
    Catalina 10.15.1 Alfred 4.0.6 b1124 Something weird is going on with Icons for a few of the built-in System Preference prefPanes. For example, "Bluetooth" or "Internet Accounts". When I search Spotlight for these, the proper icon is displayed. But, in Alfred, only a generic icon is shown: vs and vs I notice even in Finder, the generic icons are shown: Only Spotlight and the System Preferences.app itself seem capable of showing the right icon. I opened the Contents folder of the prefPane bundle to investigate. It seems like Info.plist contained within specifies icons via keys such as "NSPrefPaneIconFile" and "CFBundleIconFile" but even in that case, the file referenced doesn't seem to exist on the filesystem anywhere that I can find. E.g. for Bluetooth, NSPrefPaneIconFile = "BluetoothAqua.png" —but that file doesn't exist. Similarly, Internet Accounts specifies "InternetAccountsIcons.icns" and "InternetAccountsIcon40.png" as icons, but these are nowhere to be found: What's going on here? I know this isn't really a bug in Alfred but it started with 10.15 and I wonder if anyone knows about these generic icons or where the resources are coming from...
  5. 1 point

    KeePassXC Integration

    Hello, I created a workflow that allows to list the entries of a KeePassXC database and retrieve the password for an entry. You can find it here: https://github.com/Angoll/KPass I've been using Alfred for a while, basic functions without entering into the workflows world, but recently I'm switching to KeePassXC to store my passwords and I created the workflow to help with the change. I saw that there is some demand of a workflow that this one but no one created it. It uses the keepassxc-cli to access password database and Keychain to secure store the password for the keychain. All code is written in bash and AppleSript (JS) for the configuration setup. Keychain Tip: if you create a new keychain and enable the auto-lock after X time, it will prompt for the password. Or modify the Access Control of the KPass_AlfredWorkflow to ask for key always. Any feedback is welcome ☺️ - Dependencies: Apart from Alfred and KeePassXC no external dependencies are required. - Regarding Security: Security is a big concert for all, so all code of this workflow is plain text, you are welcome to check it. Feel free to reach me if you improve it. - Screenshots: Example of listing entries of a database KPass Configuration Script, this will prompt to select the database, keychain and password to configure the integration.
  6. 1 point
    Version 1.3 is now available with support for adding bookmarks form the currently active browser. See the info in the first post for more about how this works, and get the new version at Packal: https://www.packal.org/workflow/search-raindropio
  7. 1 point
    No, I don't think so. As far as I can tell, Alfred's Open With menu keeps track of which applications you opened most recently (not necessarily via the menu) and shows the ones that declare that they can open the type of file currently selected. So the reason you're never seeing VS Code in the list is because the application doesn't declare to the system that it can open folders (even though it can). Personally, I'd much prefer Alfred to learn from how I use the Open With menu instead of trying to guess. The types of files an application can open doesn't have a lot to do with the types of files I actually open with it. I guess I should submit a feature request… What you can do with apps like VS Code is create your own File Action in a workflow that opens the selected files in the app. This is also faster, as the File Action shows up in the first list (i.e. you don't have to select Open With first).
  8. 1 point
    @danielgomez22 You’ve posted two similar images, except the second didn’t censor the emails. I’ve removed the second one, assuming it was a mistake. Please let me know if it wasn’t.
  9. 1 point
    To get a list of the UTIs known to the system, run the following in a shell: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep '[[:space:]]uti:' | awk '{ print $2 }' | sort | uniq
  10. 1 point

    open finder folder as tab ??

    Thank you. This works like magic. This is why I never wish to use other people's computers.
  11. 1 point

    open finder folder as tab ??

    Hi, Glad this is still of use to you, almost 5 years later! Yup, as far as I can see from here that was the intended behavior. I just made another version which forces the tab to open in an already open Finder window even if Finder is not focused, which I guess is what you wanted? Get it here. Keyword "ioio".
  12. 1 point

    Firefox Assistant

    Like Safari Assistant, but for Firefox. Download from GitHub. Search Firefox bookmarks Search Firefox browsing history Run bookmarklets Activate & close tabs Add you own custom scripts The workflow requires you to install a corresponding Firefox extension in order to communicate with Firefox. After installing the workflow, run ffass > Install Firefox Extension to get the extension. Once the extension is installed, everything should just work. The workflow is fairly customisable. You can add your own URL actions via scripts, set custom icons, and assign URL & tab actions and bookmarklets to alternate hotkeys. See the documentation for details.
  13. 1 point
    If anyone has the same issue with Alfred 2.9 on Catalina, I solved this by adding /System/Application to the search scope. To do this from Alfred preferences, go to "Features > Default Results > Search Scope". Click the "+" button, then press Cmd-Shift-G and type "/System". This will display the System folder in the finder dialog. Select the "Application" subdirectory and confirm.
  14. 1 point
    @alfredpleb Sorry for the delay on that. I haven't released PrefsPlus (yet) ... although I am continuing to use it and it's working well (for me). I'd like to share it. Would you mind testing it out to see if it works for you before I release it widely? I could send you a link via PM.
  15. 1 point
    Agreed. Or give us a shortcut so we can update without having to use the mouse. I hate my mouse... that's why I use Alfred!
  16. 1 point
    Rather then get a notification I would like an option to have Alfred update itself without my intervention.
  17. 1 point

    Firefox Assistant

    Thanks! I don't have Developer Tools installed, but allowing individual workflows seems to have fixed the problem. It's great to finally see an Alfred workflow for Firefox! Much appreciated!
  18. 1 point
    @2Pants Welcome to the forum If Chrome your default browser? If so, the lowest-setup option is to copy your URL, pop up Alfred and paste the URL, and hit Enter. Alfred will launch your default browser with the URL. Alternatively, you can create a simple hotkey-based workflow. Add a hotkey object and set the argument to either Clipboard Content or selection in macOS. Connect the hotkey object to an "Open URL" object, leaving the {query} in the URL field. Pick the browser you want it to open in, and save. This assumes you're copying a complete URL with http:// or https:// - If you're not, you can add that in front of the query for your Open URL object. Cheers, Vero
  • Create New...