Jump to content

Leaderboard


Popular Content

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

  1. 3 points
    deanishe

    Alfred preferences fails to open

    My local kebab shop always puts up a notice when they're on holiday that says "back in two weeks".
  2. 2 points
    It's called Pacmax. Saw it posted on Reddit. I was actually thinking of building it but glad that I don't have to. 😅
  3. 2 points
    deanishe

    Need this super program on Windows

    If I had to pick some things that are never going to happen, Alfred for Windows wouldn't be much further down the list than my baldness spontaneously curing itself.
  4. 2 points
    vitor

    Need this super program on Windows

    Either work on Alfred for Windows already started, or it hasn’t. If it has, registering support does nothing because it would happen anyway. If it hasn’t, even if work on it started today it would take so long (with the current team), that by the time it was done there would be no guarantee all the people asking for it today would still be interested. Over years there’s only been a handful of people expressing interest in this, not nearly enough to justify the commitment to support a whole new platform. Alfred Remote for Android would make sense way before Alfred for Windows, and that is unlikely to happen as well (there’s another thread on it). Yes, in theory it could happen. In practice, you shouldn’t get your hopes up in the slightest.
  5. 2 points
    Open the workflow in Alfred Preferences, click the [𝓧] icon and do this:
  6. 2 points
    shmulvad

    Roman Numeral Converter

    Okay, I didn't know that - thanks for letting me know! The workflow is now updated to use JSON. I'll agree with you, that is much cleaner.
  7. 2 points
    deanishe

    Basecamp Workflow

    Right-click on the workflow in Alfred Preferences and choose "Open in Terminal". If you did the above, Terminal should have opened a new window set to the workflow directory. Just enter bundle install --standalone and hit ↩.
  8. 2 points
    @Luciano Santana (and anyone else following along), there are a few commands (Create New Timer, Create New Alarm, and View Recent) that are still broken in Alfred 3. I have a branch that fixes them. (I also submitted a PR to Luciano's repo.)
  9. 1 point
    xeric

    Workflow for Outlook V16 Search

    I create a workflow for searching mail from Outlook for Mac V16 (A.K.A. 2016). Now it support searching Mail sender, Subject and Preview Content with below format: olk [keyword] And also you can search with multiple keywords: olk [keyword1] [keyword2] [keyword3] To limit search scope in one attribute: olk from:[keyword] olk title:[keywords1] [keywords2] ... By default, this workflow searches mail from all folders and with default page size 20, for results more than 20, you can click last item 'Next 20 Results...' to go to next page. You can also configure the search: olkc pagesize [number] for change search result in one result list. olkc folder then you can get a list of all your Outlook folders, choose one to limit search scope. Project hosted in Github: https://github.com/xeric/alfred-outlook Download latest release workflow file from: https://github.com/xeric/alfred-outlook/releases Welcome your feedbacks!
  10. 1 point
    Morning all! I've suggested to @mjwalfreds to join this conversation, so he can chat with some of our most experienced and active community members, so I'm sure he'll come and introduce himself soon Cheers, Vero
  11. 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
  12. 1 point
    It's AppleScript. Paste it in a Run Script box with Language = /usr/bin/osascript (AS).
  13. 1 point
    I second this sentiment. I found this post earlier but it read as “do this”, so I limited my effort to a cursory glance at the website, and since the answer wasn’t immediate I abandoned the effort. Don’t take this as a critique. Instead take it as a tip on how to ask people to do free coding work for you, from someone who makes a lot of free Workflows for others. We could be doing something else with our time. We choose to help people because we do get something out of it: an interesting challenge or the joy of seeing someone elated with the code we built. Sometimes people are so happy with the result they send a small monetary contribution as a token of their appreciation, though that is not why we do it. But until the outcome, it’s a thankless job of uncertain reward. Sometimes it’s boring but we can whip it up in a few minutes and improve someone’s life, so we do it anyway. Other times it’s hard as hell: we devote hours only to fail, and we can do nothing more than share breadcrumbs of our findings to ease the burden of the next one to try. This is your wish. Still, we offer our expertise to help you achieve a goal we don’t share. To justify that commitment, we need to feel that you’re serious in your endeavour. We don’t ask that you spend your money, but we do expect that you invest the same thing you’re asking of us: time. There are two main components to a coding project: what it does and how you interact with it, i.e. how you tell it to do what it does with which parameters. Both take time, not only to build but also to decide on how they are going to be built. The more time you spend on one of these, typically on deciding how you want to interact with your application (because yes, it is yours in the sense we’re building it to your specifications), the less we need to. And that shows respect for us and our time. When you’re sparse on details, the message you’re sending is you don’t care about your request enough to spend the time doing basic research or thinking about how you want to interface with the result. And if you don’t care, why should we? Note that not caring is not the same as not being able to figure it out. Asking for help deciding on the details is valid, and we do find it rewarding to teach people who want to learn. But there is a direct correlation between how hands on you are trying to solve your own problem and other people’s willingness to help you do it. We all have a limited pool of time, and given the choice we’ll help the people who are mindful of the ones who help them.
  14. 1 point
    Many thanks, Deanish!!!! Here is the code I wrote... if you have any improvement, please let us know!! on run set the clipboard to "{query}" as text tell application "Calendar" to activate delay 0.5 tell application "System Events" keystroke "n" using {command down} keystroke "v" using {command down} keystroke return delay 0.5 keystroke return key code 48 using {command down} end tell return "{query}" end run
  15. 1 point
    DvZ

    Waiting for results...

    I had the same problem for weeks and I finally found the problem. In my case it helped to reset the Search Scope in the Default Results screen of the Preferences and then restarting Alfred. In case this doesn't help, try quitting Alfred and move the file ~/Library/Application Support/Alfred 3/Alfred.alfredpreferences out of the way. After this, if Alfred doesn't give the "Waiting for results" message anymore, you know for sure something in your preferences has gone haywire. If you're feeling adventurous, the Alfred.alfredpreferences file is a really a directory ("bundle" in macOS terminology). Try to rename one directory at a time (make sure Alfred isn't running when doing this). This way I found that my Default Results were faulty.
  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
    Running the below command in Alfred fixes this issue for me.. bs workflow:reset
  18. 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.
  19. 1 point
    Search for emoji and copy them to the clipboard ?. Download v1.8.0 (2018-11-20) Usage: emoji [query] Press [return] (↵): Copy the symbol of the selected emoji (e.g. ?) to your clipboard. Press [alt]+[return] (⌥↵): Copy the code of the selected emoji (e.g. `:rofl:`) to your clipboard. Press [cmd]+[return] (⌘↵): Paste the code of the selected emoji (e.g. ?) to your frontmost application. Automatic Updates: This workflow will automatically check for updates at most once per day. If a new release is found, it automatically downloads and installs the latest version of the workflow. All downloads come directly from official GitHub releases. Optional Hotkey and Snippet Triggers: Customize the workflow with either a custom hotkey or a custom snippet. Links: GitHub Project Download New Releases GitHub Issues - (please submit bug reports and feature requests here) Screenshot:
  20. 1 point
    shmulvad

    Roman Numeral Converter

    Roman Numeral Converter Convert between roman numerals and arabic integers Installation To download, visit the latest release at GitHub. All further updates are handled automatically. Description This is a fairly simple workflow for converting between roman numerals and arabic integers. This has been made before by Tyler Eich (Packal link), but hasn't been updated since 2015 and stopped working on my computer during an Alfred or macOS update (can't remember which). But I had an use case for this, and therefore I made a new version written in Python for this simple task. In Alfred, type rn and enter either your roman numeral or arabic integer. Selected result is copied to your clipboard. The expression is being evaluated as you type it. If the expression cannot be evaluated, for example if you are using illegal characters, user will be notified about that. Note The workflow doesn't support incorrectly written roman numerals, i.e. "IC", and will also notify user about this: Credits The workflow makes use of the following code to focus on the implementation of the conversion between the number systems rather than focusing on a lot of Alfred Workflow related stuff. OneUpdater to easily check for updates by vitorgalvao. Alfred Workflow Feedback XML Generation to easily add items by lrrfantasy.
  21. 1 point
    mhanes

    Basecamp Workflow

    I encountered and resolved this problem as well. This error is regarding the version of Ruby installed on your Mac. To resolve it, I followed instructions on this page https://github.com/zhaocai/alfred2-keylue-workflow/issues/4 - installed Bundler (needed to do so with sudo) then ran bundle install --standalone. Then I refreshed the bc cache and voila, working great now.
  22. 1 point
    Update. I’ve made slight modifications to the method to read/write api token. You will be asked to add your token again. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  23. 1 point
    LaTeX ⟷ Markdown Alfred Workflow Quickly convert Markdown to LaTeX or vice versa from your clipboard with Pandoc. Description A simple routine to convert snippets of markdown to LateX from your clipboard or vice versa. The workflow creates either a *.md or *.tex file relative to your input and at the location you choose. The file is converted with Pandoc by calling it from the terminal. The converted file subsequently gets output at the same place. Existing files will be overwritten. Pandoc is key and has to be installed: $ brew install pandoc GitHub: github.com/zeitlings/alfred-latex-md/raw/master/LaTeX-MD.alfredworkflow (direct download) github.com/zeitlings/alfred-latex-md Alternative Method: Clipboard only An altered version that removes all created files and copies the converted output back to your clipboard: Convert markdown to LateX from your clipboard or vice versa. The workflow creates either a *.md or *.tex file at your ~/Documents folder. The file will be converted with pandoc by calling it from the Terminal. The contents of the converted file will be copied to your clipboard. Both files will be moved to your trash bin. GitHub: github.com/zeitlings/alfred-latex-md-direct/raw/master/LaTeX-MD-direct.alfredworkflow (direct download) github.com/zeitlings/alfred-latex-md-direct _____________ The workflow is piggybagging off these two: https://www.alfredforum.com/topic/459-workflow-create-a-new-text-file-with-clipboard-content/ https://www.alfredforum.com/topic/394-fixed-create-a-new-file-in-the-finder/ https://pandoc.org/
  24. 1 point
    cortig

    Outlook for Mac workflow

    I've never seen the database file error. The way the workflow work is by searching through Spotlight for filetypes belonging to Outlook (contacts, messages and events) in the ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile folder. It could be: Some sort of permission issue (check that the ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile folder is readable) A path issue (lets say, your database had to be renamed because of a corruption, do you have more than one profile folder in ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/?) A launch service database issue (you need to rebuild the launch service database, a free app like Onyx could do that for you). Corentin
  25. 1 point
    Well, that was a long & winding road. I'm new to Alfred so I'm still figuring things out. I tried everything I could to avoid using a /tmp file but this was the only way that worked. Everything else—using variables, trying to process the clipboard buffers from within the workflow itself, using external triggers etc, all failed. This seems to be due to the way Alfred processes the query buffer as it passes through the workflow. Internally, a reference like `{clipboard:11}` will always return that exact text (e.g. if used in a comparison statement from bash or python) -- it only converts it to the actual clipboard value during OUTPUT actions such as Large Type or Write Text File. The 2nd problem is, if `{clipboard:11}` contains a NULL (empty) value, instead of returning BLANK (which would be expected), Alfred insists on instead outputting the dynamic placeholder itself. So, if you have only 5 clips and you ask for 10 to be merged, the last 5 will be written out as just `{clipboard:6}, {clipboard:7}...` etc. TL;DR I could not find a reliable way to test for "empty" values and omit them from the output other than using Write Text File and then processing it with sed. This works fine though, and the script cleans up the /tmp file after itself and is pretty quick about it. If anyone knows a better way I'm all ears. But I think this is something that would have to be fixed in Alfred itself. Here's the new version: changes omits empty strings from output if you request > clips than exist in the history configurable MIN_CLIPS and MAX_CLIPS variables added notifications for success/failure https://github.com/luckman212/clipmerge-alfred-workflow/blob/master/README.md
  26. 1 point
    I'm trying to make a workflow that accepts a single parameter "N" (a number) and then uses that to merge the last N clipboards, and paste that to the frontmost app. Let's call it "clipmerge" and it uses keyword `cm`. e.g. "cm9" would take {clipboard:0} {clipboard:1} ... {clipboard:8} and merge them. Anyone got any ideas on how to achieve this? edit: I figured out my own solution... click here
  27. 1 point
    Multiple screen support just landed. https://github.com/pawelgrzybek/div http://www.packal.org/workflow/div
  28. 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)
  29. 1 point
    pruppert

    First party sync service

    I’d like to stop using Dropbox since iCloud has replaced its function for me, but Alfred sync is on of the few things holding me back. I see it is not recommended to use iCloud Drive. Perhaps a new version of Alfred could have sync built in without any need for a third party like Dropbox or iCloud Drive? Thanks.
  30. 1 point
    nikivi

    Open Contacts App from Alfred

    If I may, I would love to bring this thread to attention as it is a bit relevant to searching of Contacts I very often search people by contact name to open their Twitter/GitHub and such customizable actions would save me quite a bit of time. 🧡
  31. 1 point
    @vitor Thank you so much! The Menu Search nailed it for me.
  32. 1 point
    Welcome @Jim Tao, Not sure if it’ll work for that, but try the Menu Search Workflow or using a shortcut for the Help Menu.
  33. 1 point
    This worked, thank you!
  34. 1 point
    TheJesusFish

    Snippets stopped working in Mojave

    That seems to have fixed it! Great work as always, friends
  35. 1 point
    targumanu

    Mac App Store Search

    Search the Mac App Store and view search results with artwork previews right in Alfred. Open search results in App Store.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — masprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache. Additional keywords allow you to open the App Store app's Purchases (“masp”) and Updates (“masu”) tabs. Download
  36. 1 point
    I'd love a workflow like http://www.alfredforum.com/topic/917-reminders/ that works with Google Tasks http://mail.google.com/mail/help/tasks/
  37. 1 point
    targumanu

    iBooks Store Search

    I’ve updated the workflow to use Alfred’s environment variables to get the paths to its data storage locations. Please re-download. To remove the old data in Alfred 2’s cache and data folders, launch Terminal and execute the following commands: rm -rf ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow\ Data/com.targumanu.ibookssearch rm -rf ~/Library/Application\ Support/Alfred\ 2/Workflow\ Data/com.targumanu.ibookssearch
  38. 1 point
    deanishe

    Google Calendar View

    Fairly substantial update to v0.2.0. Add support for multiple accounts Show event location in events list Clear tokens on authentication error Add a sweet animated spinner
  39. 1 point
    CJK

    Workflow to identify language in pdf

    Would you mind doing me a favour and just sending me the PDFs that you are using for testing purposes ? That way, I can see what sorts of content you're dealing with. This latest error, whilst very similar in nature to the one affecting the Title of the PDF document, seems odd that it would arise when dealing with a page from the PDF. It implies that there was no language detected, which in turn implies the page had no text. I can perhaps believe this might be the case for one random PDF file, but if you're presumably testing different files, then the others ought to work.
  40. 1 point
    I just thought... it's worth adding that you do actually see the appended newline from osascript -e 'return "~/Downloads"' in Terminal. When using bash and echo -n, the next command is immediately after your output. Cheers, Andrew
  41. 1 point
    @up quark Welcome to the forum We offer the free version of Alfred to allow users to familiarise themselves with the core features, but this doesn't include Snippets Text Expansion, as the latter is a Powerpack-only feature. To download the free version of Alfred, visit https://www.alfredapp.com and click "Download Alfred 3". If you'd like to use the Snippets feature, we offer an affordably priced Single User license. Of course, if you have any questions, don't hesitate to ask here, and fellow users will be able to help you decide. Cheers, Vero
  42. 1 point
    CJK

    Edit clipboard before pasting

    Not a complete solution, but this establishes a hotkey that takes highlighted text in Safari, runs it through your regex, then sends the result to the clipboard. Here, I've elected to use 〈Ctrl〉+〈C〉 as a close relative of 〈Cmd〉+〈C〉.
  43. 1 point
    I wrote a workflow in ruby to convert currency. Requires Alfred v3. Notice: The Old versions(v1.2-) api has been out of service at June 5, 2018. Please update to v1.3+ to keep using currency conversion feature. Github Download Features: Support 30+ currency units with fixer.io. Basic support for sign. e.g.,$,¥,£,etc. Customizable displayed currency units and base unit. Input once to get all result. Usage: Tap 'cy' to get latest exchange rates. Tap 'cy money' to get exchanged result. You can press enter to send the result to the clipboard. Tap 'add-cy', 'remove-cy' to customize displayed currency units. Tap 'base-cy' to set base currency unit. Hope you like it.
  44. 1 point
    tone

    Movie and TV Show Search

    Movie and TV Show Search Search for movies or tv shows and get general info and ratings from various sites. Features Get movie/tv show runtime, genre, MPAA rating Get ratings from IMDb, Rotten Tomatoes, Metacritic (if available) Show a link to a trailer (if available) Show a few credits Download Get the workflow from Packal or GitHub. Usage Type 'movie' and the title you'd like to search for. Select item (ENTER) to get movie info. Type 'tv' and the title you'd like to search for. Select item (ENTER) to get show info. Thanks Thanks to @deanishe for Alfred-Workflow. Uses TMDb and OMDb APIs for info. @vitor for all his help with developing a great workflow Changelog 2.6 (2017-11-27) Big thanks to @vitor for implementing the following enhancements: - Add support for OneUpdater - Move OMDb API key to workflow environment variables 2.5 (2017-11-27) - Added free OMDb API key 2.3 (2015-07-30) - Add RottenTomatoes audience score 2.2 (2015-05-01) - Open YouTube trailer (if available) when choosing to search all rating sites - Friendly message when internet connection isn't working properly 2.1 (2015-01-28) - added menu item to search all rating sites at once - added script behaviour queue delay (requires Alfred 2.6 or higher) - fixed rotten tomatoes search 2.0 (2015-01-20) - added tv show search - fixed issue with quick look not working for some items - removed tiny poster icon (didn't like the squishing and there was an issue with caching the icon in Alfred) 1.3 (2015-01-16) - removed argparse reference (and setting personal TMDb API key functionality) - updated alfred-workflow library to latest (v1.11.0) - fix/tidy up string encoding issues - error handling fixes 1.2 (2015-01-11) - show tiny poster in movie details listing - generate sexy html file for when first item in details listing is selected - add fallback search item (must be added manually in Alfred preferences > Features > Default Results > Setup fallback results) 1.1 (2015-01-10) - Add default TMDb API key 1.0 (2015-01-10) - Initial release This workflow is released under the MIT Licence.
  45. 1 point
    I added a workflow to go with this set of Themes, you can find it on the same Github repo in the Workflows folder It features two commands : "theme" : toggle between Dark & Light themes for both macOS & Alfred. "theme red" : switch to the Red Accented Alfred Theme. Here is a screenshot of the MojaveThemeSwitcher and its options:
  46. 1 point
    h2ner

    Open Contacts App from Alfred

    Agree with deanishe and was thinking the same: cmd-return to open in Contacts. I didn't know of cmd-O until I found this thread. As the modifiers control and option offer other options, I think cmd is a good choice for perhaps the most often wanted other action.
  47. 1 point
    deanishe

    EggTimer v2 [updated to 2.0 final]

    Download the zip file from the repo (Clone or download > Download ZIP) and extract it. Go into the new directory, select all the files, right-click and choose "Compress 11 Items". That will create Archive.zip. change the name to Archive.alfredworkflow and double-click it.
  48. 1 point
    dvcrn

    Ability to use macOS services from Alfred

    I've been recently playing around with launchbar and switch back and forth between it and Alfred. One thing I noticed that is pretty killer in launchbar, is the ability to use macOS services. Launchbar is indexing them by default and lets you use them either with normal text or files. A proposal could be: Type some text (or use a workflow to get the selected text and propagate the alfred window with it) Hit CTRL Select "Use Service" (or directly suggest them) Hit enter on a service to use them And the same with files. Hit CTRL and propagate the actions window with services that support the file type, next to workflow actions and default alfred actions I think this would make Alfred a lot more powerful without the need to create custom workflows. A lot of apps (the majority?) already exposes services, and being able to use them directly within alfred would be great. For example, some workflows that I manually wrote that would be possible with a service: DEVONthink: Add notes or files Delivers: Add a delivery from a text string Fantastical, Cardhop, Things: Add new entry directly from text Screenshot of available services enabled on my system when selecting text: Screenshot of available services when selecting a file:
  49. 1 point
    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
  50. 1 point
    deanishe

    Starting a background process?

    That's not really true. It's perfectly possible to run a background process from within an Alfred script. You just have to be sure that any subprocesses you want to background also disconnect from the parent STDOUT and STDERR, as Alfred won't consider a subprocess finished while one of them is still open.
×
×
  • Create New...