Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 08/15/2019 in all areas

  1. 1 point
    dfay

    Use same Editor to open any file

    Regardless of file type? In any case, you can do this by creating a custom File Action. See https://www.alfredapp.com/help/workflows/triggers/file-action/ and https://www.alfredapp.com/help/workflows/triggers/file-action/
  2. 1 point
    Github: https://github.com/bmunoz89/alfred-wf-bluetooth-manager 🚨 Supports Alfred 3 & 4 🚨 💻 Installation 👾 Run this command on a terminal: brew install blueutil Now download ⏬ the last release and open it 😎. That's all!! 📸 Screenshots 🔑 Keywords bset: Set the default device bc: Connect the default device bd: Disconnect the default device bcs: Select the device you would like to connect to bds: Select the device you would like to disconnect to bm: Allows to turn bluetooth on and off, and the same for updates of the workflow Besides that, you can add shortcuts into the preferences 👌🏽
  3. 1 point
    There is plenty wrong with Bash, but nothing wrong with you using it. It’s an idiosyncratic but capable glue language that I still use regularly. You can find it pretty much everywhere and be sure it will work with some consistency. But the way you’re writing it could indeed be improved upon. It makes little sense to keep escaping double quotes when you can use single quotes. Also, there’s no need for printf '%s\n' or so many of them. A single echo (or a Here Document) suffices. Your code isn’t working because Dynamic Placeholders aren‘t meant to be used in Alfred’s non-code areas. It wouldn’t be wise for Alfred to replace them everywhere and risk breaking your code. As a workaround, you may connect a Keyword Input to an Argument and Variables Utility that saves the clipboard contents as variables to be used in the Script Filter. Be aware that there is bound to be some breakage when the raw clipboard contents interact with the code, such as when you have a quotation mark in the clipboard. That is why raw Bash is not a good choice in this case — you need to sanitise your input beforehand, and libraries are good for that. Here’s a ready-made Workflow. I’ve kept and fixed the Bash example so you can still reference how your code could have been, but the end result uses Ruby. Finally I’ll ask that in the future, when asking for help with a Workflow, please upload it somewhere as it’s hard to help without access to it. Debugging can already be hard with access to the code, even harder to do so by guessing from a description. There are multiple places where the code or Workflow setup can be wrong. Without looking at it we’re mostly shooting in the dark. The Reporting Problems with Workflows topic gives a nice overview on how to build an effective report.
  4. 1 point
    Simple Bitwarden Workflow for Alfred https://github.com/blacs30/bitwarden-alfred-workflow Simple yet powerful integration with the Bitwarden CLI so you can now get your passwords out of your Bitwarden vault and straight into the clipboard from within Alfred. **Note**: Passwords with spaces at the beginning or end are _NOT_ supported ## Version 1.2.4 update - Please Read ----- * Uses utf-8 decoding now which fixes an issue where the json object could not be decoded and alfred bw would fail ----- ##Version 1.2.3 update - Please Read Fixes an issue where spaces within the item name causes the workflow to being unable to get the password/username/totp Removes newline at the end of the output Thank you, @rasmusbe, for contributing. ##Version 1.2.2 update - Please Read ----- Fixes an issue where spaces within the password prevent a user from login / unlock of the vault. ##Version 1.2.1 update - Please Read Fixes an issue where the login is successful but the workflow doesn't set the marker to save it but instead returns that the vault is locked. ## Version 1.2.0 update - Please Read Ladies and gents, I am happy to present v1.2.0 of the workflow. As this workflow was originally a fork from the LastPass CLI it is now almost completely a rewritten codebase without using AppleScript calling an external applescript file to ask for the password. That is done now via inline AppleScript in Python. All perl and main AppleScripts have been rewritten in Python. If you haven't used Bitwarden before... you are crazy and you should! Say bye to LastPass and hello to selfhosting. It is the single greatest password manager package out there so check it out at https://bitwarden.com. ## Version 1.1.0 update - Please Read Ladies and gents, I am happy to present v1.0.0 of the workflow. Before I continue, this workflow has not been developed from scratch. The LastPass CLI workflow was the start and was remodeled to fit the Bitwarden CLI. Nonetheless it was a SIGNIFICANT amount of work for me so if you like it and use it, please say thank you by donating towards my organic food. Any amount will do, whatever you feel the value is for you/your business/your time I have never used LastPass, I prefer to selfhost my applications. From the day I heard about Bitwarden I loved it - that was at the beginning of this year (2018). If you haven't used Bitwarden before... you are crazy and you should! Say bye to LastPass and hello to selfhosting. It is the single greatest password manager package out there so check it out at https://bitwarden.com. Donations This workflow represents many many hours effort of development and testing. So if you love the workflow, and get use out of it every day, if you would like to donate as a thank you to buy me some healthy organic food (or organic coffee), or to put towards a shiny new gadget you can donate to me via Paypal. Installation Ensure you have Alfred installed with the Alfred Powerpack License Install Homebrew (if you do not have it already installed) You should be able to just run the command in a terminal window (as your own user account NOT with sudo) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Alternatively visit http://brew.sh/for further instructions. Install Bitwarden CLI command line interface In a terminal window run brew install bitwarden-cli Download the .alfredworkflow file Open the .alfredworkflow file to import into Alfred Run 'bwsetemail yourloginemail@yourdomain.com' in Alfred to set your Bitwarden username. Run 'bwsetserver https://bitwarden.example.com' in Alfred to set your Bitwarden URL. Use https://bitwarden.comfor the hosted bitwarden. Usage bwsetemail yourname@example.com- must be run when you first install/upgrade to version 1.0 or higher bwsetemail - Set the Bitwarden user account email bwsetserver - Set the Bitwarden server to connect to bwset2fa - Enable 2FA for Bitwarden login bwset2famethod - Set the method for the Bitwarden 2FA login (optional) bwlogin - Log in to Bitwarden bwlogout - Log out of Bitwarden bwunlock - Unlock the Bitwarden vault in case in case it is locked bwsync - Syncronize bitwarden with the remote server bw Search Bitwarden vault for item containing , press return to copy the password to clipboard. Shift modifier can be used on bw to copy the username. Alt modifier can be used on bw to copy the totp (if available). Contributing Fork it! Create your feature branch: git checkout -b my-new-feature Commit your changes: git commit -am 'Add some feature' Push to the branch: git push origin my-new-feature Submit a pull request History Version 1.0.0 - Initial Release Version 1.0.1 - Fixed logout / not logged in warning Version 1.0.2 - Fixed erroring in case no username exist, catch the error correctly now. Version 1.1.0 Version 1.2.0 Version 1.2.1 Version 1.2.2 Version 1.2.3 Version 1.2.4 Credits Created by Claas Lisowski If you would like to get into contact you can do so via: @blacs30 on Twitter Claas Lisowski on LinkedIn License Released under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Notes NOTE: This Alfred Workflow is not affiliated in any way with Bitwarden. The Bitwarden trademark and logo are owned by Bitwarden.com. The Bitwarden logo and product name have been used with permission of the Bitwarden team. My thanks go out to Bitwarden for their awesome product and the new CLI!
  5. 1 point
    vitor

    [SOLVED] URL Scheme For Commands?

    Welcome @Uhnnohn, What you’re looking for are External Triggers.
  6. 1 point
    pmullins

    Arkham Dark

    Arkham Dark is a new theme I created based in part on the terminal colors in System76's Pop!_OS Linux distribution. Hope you like it! 😁 GitHub Link: Download
  7. 1 point
    Alfred just shows a list of the applications that the system says can open that kind of file, so you'd really need to ask the developers of Commander One to add an appropriate file association to the application. An alternative is to add your own File Action in a workflow for filetype "folder" and connect it to an Open File action set to Commander One.
  8. 1 point
    deanishe

    Folders not showing up in search

    You don’t have to change the folders regularly. Just once if they’re not showing up in the results at all. Like I said, Alfred primarily sorts by its “knowledge”, which is its memory of which item you selected for which query. Modifying the folder is just a way to get an item into the results list in the first place so you can “train” Alfred. Alfred is tuned for performance, while Finder and Spotlight are tuned for comprehensiveness. You get much better results from Alfred by keeping searches focussed. So if you want to find folders, you configure your File Filter to only search for folders instead of any type of file. It’s fairly straightforward to set up a two-step search that first filters folders and then the files within the folder you selected. I believe one of the built-in example workflows demonstrates this technique.
  9. 1 point
    alfred-spotify-mini-player.com Find all information on dedicated website: alfred-spotify-mini-player.com Follow on Twitter @TheMiniPlayer to get all news Features Example PS: If you have a problem with the workflow, do not spend time reading the forum post, the workflow has been rewritten many times! Follow instructions from here http://alfred-spotify-mini-player.com/articles/support/ instead
  10. 1 point
    Top workflow ! Thanks @vitor !
  11. 1 point
    Chris Spiegl

    Restart Alfred Workflow

    Hi @Subject22, that's awesome, instead of going through all the hustle of setting up a fork and all, here is literally the only change we needed for this Workflow. It's only the script that needs adjusting, here is the fully working script as suggested by @cands. @Subject22 I hope this makes it easy for you to update everything. # Quit Alfred 4 and his preferences if application id "com.runningwithcrayons.Alfred" is running then tell application id "com.runningwithcrayons.Alfred" to quit end if set prefsWasOpen to false if application "Alfred Preferences" is running then set prefsWasOpen to true tell application "Alfred Preferences" to quit end if delay 1 # Wait for the processes to terminate # Restart and display processes tell application id "com.runningwithcrayons.Alfred" to activate if prefsWasOpen then tell application "Alfred Preferences" to activate end if # Display Alfred tell application id "com.runningwithcrayons.Alfred" to search
  12. 1 point
    Thanks @Andrew for your excellent support, and @waitingforgo for your tests!
  13. 1 point
    Try installing this theme which is a copy of the Alfred Dark theme, but with no transparency and blur disabled: https://www.alfredapp.com/extras/theme/I8nmpqQCWx/ Cheers, Andrew
  14. 1 point
    @billiesoniq scroll down past "Full Disk Access" in the Security & Privacy prefs, and under "Automation", make sure iTunes is ticked for Alfred. macOS should have asked automatically for you to grant this access, but if you missed the popup, it may have been left unticked, preventing Alfred's access. Cheers, Andrew
×
×
  • Create New...