Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 01/17/2019 in all areas

  1. 3 points
    Call qapps and all apps excluding the ones you set in the keep_alive Workflow Environment Variable will quit. The Finder is added to the exclusion list by default, unless you set kill_finder to true. You’ll need to use the exact names of the apps as they present themselves to the system. To prevent multiple from quitting, separate their names with commas. qprocesses will kill all processes, subject to the same keep_alive and kill_finder settings, meaning even things in the background that you don’t see will be asked to quit. Note both options ask the apps to exit (SIGTERM) instead of telling them (SIGKILL). If you need to force processes to terminate, consider ProcessControl instead. Download | Source
  2. 2 points
    Thanks @Andrew for your excellent support, and @waitingforgo for your tests!
  3. 2 points
    ? keyword lets you effectively search Alfred. However it does strict search so you are forced to start search query with how the actual workflow name starts. No fuzzy searching is supported. It would be awesome if ability to fuzzy search through results was added. Thank you.
  4. 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.
  5. 1 point
    vitor

    [SOLVED] URL Scheme For Commands?

    Welcome @Uhnnohn, What you’re looking for are External Triggers.
  6. 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
  7. 1 point
    Top workflow ! Thanks @vitor !
  8. 1 point
    @Twice Bitten, since you are not mentioning which Terminal application you are using, I guess you use Terminal.app. So, to "pass the text into the current Temrinal session window" and keeping your default Terminal integration as it is in Alfred (so you can keep your other action to open a new Terminal Session if you want), you can create a workflow that pass your text to a Run Script object with the script language set to /usr/bin/osascript (AS) and with the script set to: on run argv tell application "Terminal" activate -- comment this line if you don't want to send the Terminal window to front do script (item 1 of argv) in tab 1 of window 1 end tell end run or if you want to change Alfred's Terminal integration as mentioned by @vitor and use ! , you can set Alfred to use a Custom terminal application and set the script to : on alfred_script(q) tell application "Terminal" activate -- comment this line if you don't want to send the Terminal window to front do script q in tab 1 of window 1 end tell end alfred_script
  9. 1 point
  10. 1 point
    deanishe

    Collection of shell scripts, completion

    The simplest way is to use a keyword that doesn’t match a bunch of other stuff. “.q” instead of just “q”, for example, if you want something short.
  11. 1 point
    Hi supporters, I’d like to share a workflow which lets you open a new AirDrop window in Finder by typing "airdrop". Get the workflow here: download Please also find the source code on Github. Cheers, Paul Credits: based on an Alfred 1.x extension by @Johnathan1707.
  12. 1 point
    Alfred works fine with Python 3. You can use your existing, Python 3 script by setting Language to External Script.
  13. 1 point
    jipnet

    open finder folder as tab ??

    Here's a different take: I'd sometimes like to open files or folders in a new tab (my default setting for finder), other times in a new WINDOW. Is there a way to create a command for the latter specifically WHEN the finder default is set to tabs only? tx
  14. 1 point
    Welcome @Eugene Auduchinok, There’s a Workflow for that (disclaimer: I’m the author).
  15. 1 point
    I've added a note to look into this for a future build
  16. 1 point
    Hi, I've created a workflow to find and open Apple/iCloud notes in Notes.app. Just type n[part of note title] and press enter. The default search method is known to work on High Sierra and Mojave, but AppleScript options are also supplied that should work on other macOS versions. Get it on Packal and feel free to open issues/make pull requests on GitHub.
  17. 1 point
    I appreciate your well thought out process here, and I agree!
  18. 1 point
  19. 1 point
    Can confirm. It does exactly what it says on the tin.
  20. 1 point
    @nikivi if you update to Alfred's latest 4.0.2 pre-release b1086, you should get the behaviour you're after. Could you let me know?
  21. 1 point
    Soulver 3, which was just released a week or two ago, include a Alfred workflow to do just what you wanted .. it works beautifully !
  22. 1 point
    @Jakub Sypiański got it! You mean you would like to see the icon of the workflow instead of the "hat" icon? Good idea, I will take a look at it...
  23. 1 point
    I've just realised that your screenshot doesn't show workflows' icons. Sorry, my bad. But I think it could be a nice addition to add them to the workflow, if possible.
  24. 1 point
    I'm sure the dumb luck is on my end! Ha
  25. 1 point
    I hear you. I am a LaunchBar user myself and use its Instant Send heavily. My guess is that 80% of Alfred users do not know what they are missing if they have not experienced LB's Insant Send. Anyway, for now, I have decided to make Alfred the primary launcher (⌘ + Space) and LB secondary (running in the background) just for its Instant Send. The issue with the KM workaround is that it only works for files, not text.
  26. 1 point
    @antil I think you may be entering your older v2 single license into the upgrade page. If you enter your newer v3 mega upgrade license into that page, you'll get your free v4 upgrade If you have any issues finding your newer license, take a look in Alfred 3's Powerpack prefs to view your license, or pop an email to our info@ address and Vero will help you out! Cheers, Andrew
  27. 1 point
    godbout

    Alfred KAT

    Hello! The Workflow doesn't enforce any app. It's opening through the app on your Mac that has been put as default for magnet links. You can change this in several ways, but the easier is probably to go through the Transmissions preferences window. Have a look at the screenshot attached! Then all your magnets links will open through Transmission.
  28. 1 point
    vitor

    [SOLVED] Launch apps as sudo? Possible?

    Still, it is possible (even if a terrible idea) with sudo --stdin /Applications/Marta.app/Contents/MacOS/Marta <<< PASSWORD_HERE.
  29. 1 point
    troycurtisjr

    No "action" from a Script Filter

    I don't really follow you here. There isn't any concurrency in the script, is there? So what's the difference to regular synchronous code? You are right there there is not much concurrency here. None of the I/O I'm doing (or currently expect to do) with the websocket would be expected to take very long. However, there is potentially some overlapping I/O going on here. The way the GPMDP websocket API works is that there is a near constant stream of data (presuming a track is actively playing, basically it is the "current time" message), and arbitrarily interleaved in that stream is the response or responses to calls that you might make. The overlapping I/O happening *could* be during the async send and the ongoing async receives going on. Again, I'm not claiming in this simple use case there is a huge gain. After all if I was writing this in sync code, I would just have a common read function that would read messages and discard the ones I wasn't currently interested in, waiting for the desired response before returning it. I am also planning on making use a few of the automatic messages sent over, namely the playlists. So those can be read and queued off until I care about them, and interacting with them would be the same whether they were already present when I go to look for them, or whether I needed to "await" a bit for them to come in. Lastly, I'm planning on pulling down the various bits of album art into a local cache to use as the icon, and that would be nice to run "concurrently". Now I'm all set to just add those pieces in! But first, I'm getting the basics all working so I can control more of my computer using Alfred!
  30. 1 point
    Hi, Latest version can be downloaded from: https://github.com/jaroslawhartman/TimeZones-Alfred https://jhartman.pl/tag/alfred/ http://www.packal.org/workflow/timezones-2 At time of writing, v2.6 is the latest. Best regards, Jarek
  31. 1 point
    Vero

    1 Password integration with Alfred

    If by "command", you're looking for a hotkey to bring up the filtered 1Password search only, you can set up a workflow as follows: Hotkey object with a hotkey combo of your choice Connected to a Show Alfred utility Set the Show Alfred utility to the argument "1p " (note the space after 1p) and cursor to the right You can then use your hotkey combo to pop up Alfred with "1p " pre-filled so that you can just start typing the name of the 1Password bookmark you're looking for Cheers, Vero
  32. 1 point
    foogywoo

    Homekit workflow

    A workflow to trigger Homekit scenes and accessories. https://twitter.com/foogywoo/status/1121606023679229953/photo/1 Download: https://github.com/foogywoo/HKAlfred/raw/master/distribution/HomeKit.alfredworkflow Github: https://github.com/foogywoo/HKAlfred Downside: Homekit still being a private framework on macos SIP needs to be disabled for it to work.
  33. 1 point
    deanishe

    Browse Reddit

    Added new NSFW option to include subreddits marked "over 18" in search results.
  34. 1 point
    dfay

    adding to list filters via Alfred

    you could use the technique here and add a mechanism to update the csv
  35. 1 point
    Ha! Thanks. I didn't realize the environment variable was with Alfred. I was looking for a way to set it system wide on MacOS. No wonder I didn't find this. Works perfectly the way I want now.
  36. 1 point
    Hey everyone! I've created a workflow that allows you to search and create notes for Bear. This is my first workflow, first OSS project, and first foray into Python - let me know what all I messed up Available on github and Packal. Many thanks to @deanishe and @dfay for some initial direction. Install To install, download a released alfred-bear workflow and double-click to open in Alfred 3. Easy-peasy. Searching and opening results bs -- Search for a note by title and open it in Bear. bst -- Search for a tag (a group of notes) by tag title and open it in Bear. Creating a new note bn I love notes! -- Creates a new note with the title and text "I love notes!" bn I love notes! #love #notes -- Creates a new note with the title and text "I love notes!" and the tags "#love" and "#notes" Known Issues Creating tags only works with single-word tags - multiword tags hopefully to come. Todo Append text to existing notes. Figure out multi-word tags. Thanks deanishe for guidance on Alfred workflow creation and capabilities, and for his excellent Python workflow library. dfay for guidance from his experience writing the Ulysses Alfred workflow. Rhyd Lewis for giving me an excellent example to work off of in his Omnifocus Alfred workflow. Versions 0.3.1 Fixed database location that changed with a Bear update. 0.3.0 Added search results from note text to main search. 0.2.2 Changed search queries to order by last modified date descending, so that more recently modified notes/tags show up at the top. 0.2.1 Added hashtag symbol to "Open Tag" list results to make it a little more obvious that it's a tag and not a note. 0.2.0 Now allows non-ASCII characters. Searching by tag now displays not only tags that match the search query, but notes that match those tags as well. Searching by tag now works with or without the '#' symbol in front of the tag. 0.1.0 Initial public release.
  37. 1 point
    One other note re Pacmax - the design could be tightened up a lot - there’s quite a lot of white space e.g. on every page there’s a big open area with a horizontal line and then the page title in a huge font, and only below that is the actual content. I’d also prefer one workflow per line in results, rather than needing to read down newspaper columns. And it would be nice to keep the search box in view even when you scroll down (an issue currently exacerbated by the multi column format).
  38. 1 point
    idea4IT

    Pocket for Alfred

    Hi guys, this workflow lets you manage your Pocket list with Alfred. Features Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain Github: https://github.com/fniephaus/alfred-pocket Download: https://github.com/fniephaus/alfred-pocket/releases/latest/ Feel free to give some feedback! Cheers, Fabio
  39. 1 point
    Figured out a way - not sure if it's the "right" way but, it works well enough. I used a couple of bash scripts to validate/filter the input as well as loop & process the output. If you want to have a look... (link removed, scroll down for the new version)
  40. 1 point
    Thanks great work! 🤩 I hope that the Alfred-Creator will implement a automatic solution soon into Alfred.app for Mojave. Workflows will help for now but this is not what it should like to be on macOS 🤔
  41. 1 point
    vitor

    Alfred preferences fails to open

    Not important in this case since @Andrew is already on the case, but as a future tip (and this applies to all software), avoid saying “latest version”, and always say the exact one. When you say “latest” we don’t know if you mean the latest beta or stable version, nor do we know if you’re actually on the newest version. You may think you’re up to date but be mistaken, or might be a version behind because the auto-update hasn’t kicked yet, or we may not be on what we think is the latest version but isn’t, or a multitude of other reasons. It also does not help someone who comes later with the same issue, as they’ll have no idea if their version matches yours.
  42. 1 point
    Material Design Theme For Material Design lovers Note: I have not tested it yet on Alfred 2 Download All Themes https://goo.gl/3g9uef Download Single Theme Click the download link below the theme name Save as the file (keep the extension to be .alfredappeareance) Light Themes Material Tosca Download https://goo.gl/Zfq1oy Material Purple Download https://goo.gl/Keffj2 Material Green Download https://goo.gl/x46hAh Material Blue Grey Download https://goo.gl/7hJEuA Material Brown Download https://goo.gl/UJT1TG Material Red Download https://goo.gl/BzS657 Material Blue Download https://goo.gl/rbrnZ5 Material Yellow Download https://goo.gl/NgvVna Material Pink Download https://goo.gl/CKB8M1 Dark Themes Material Tosca Dark Download https://goo.gl/rjY8NF Material Blue Dark Download https://goo.gl/ZepPZ9 Material Blue Grey Dark Download https://goo.gl/sjeNPD Material Red Dark Download https://goo.gl/mjHefJ Hope you like it!
  43. 1 point
    I was just working on a workflow that looks like this snippet trigger > run script > copy to clipboard and paste I discovered that (although the Copy to Clipboard object only mentions {date} {time} & {clipboard}) I can have the script generate text containing the {cursor} snippet & Alfred will move the cursor after pasting. ?
  44. 1 point
    vitor

    Alfred pre-releases?

    Then you’re not really the target for pre-releases and betas. Most improvements are for Powerpack-features, as the free ones are mostly complete. Workflows alone are worth the price of Alfred. If Alfred were nothing more than an interface for Workflows, I’d still be happy. To put it in perspective, the majority of my actions in Alfred are for features that are Powerpack-exclusive, and my stats say I call Alfred over 140 timer per day.
  45. 1 point
    deanishe

    Multi-line regex replace issue

    Not sure this isn't the expected behaviour, tbh. As a workaround, you can use a capture group to keep the newline from the input:
  46. 1 point
    Hello Deanishe, Yes, Alfred's clipboard merging feature is great, but you need to decide what you want to paste before to copy your text, which is not always easy.
  47. 1 point
    Andrew

    Window Width

    @woowoo the minimum size is 400 as smaller than this is unusable with some of the sub views. Is there a specific reason you need less than 400px?
  48. 1 point
    ACGarland

    Clipboard - paste as plain text

    Would it be possible to enhance the power pack clipboard feature to provide this as an option, possibly by holding an additional key, for pasting from the history? If I'm not mistaken, using the template suggested above doesn't provide any history capability (which is the great feature of the power pack).
  49. 1 point
    vinster

    Set Caps Lock as Alfred Launch Key

    I know a lot of people currently do use the Caps Lock as the Alfred Key by using Seil and Karabiner apps. But I think it would nice if Alfred had this feature pre-built in the main app. Especially with the changes to Keyboard and Mouse drivers in macOS Sierra.
×
×
  • Create New...