Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 07/14/2019 in all areas

  1. 11 points
    @MVR London Did you type "reload" into Alfred? This will refresh the app cache for any apps that may no longer exist in the old location. Cheers, Vero
  2. 8 points
    deanishe

    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.
  3. 7 points
    Pssst, just to let you know, Alfred 4.1 will be getting a {snippet:} placeholder to nest a snippet
  4. 5 points
    biati

    Calculate Anything

    Calculate Anything is a workflow for Alfred 4, that uses natural language and is able to calculate multiple things like currency, time, vat, percentage, etc. Why? There are several workflows out there but i just needed a workflow that worked naturally for example you can open alfred and type 100 + 9 and alfred will give you a result no need for keywords or hotkeys it just works, i wanted to be able to jus type 100 + 16% or 100 euros to usd or 100km to cm or 100 years to hours and a large etc. and so this workflow was created. Features - Natural language - type 100 euros to dollars or 100 euros in usd or 100€ to $ or 100eur usd or 100 euros a dolares. It does not matter, the same result will be displayed. - Currency - Up to 168 currencies - Cryptocurrency - Support for 100 cryptocurrencies - Units - 100 kilometers to meters or 100km to m or maybe 100km m - Percentages - 100 + 16% | 100 - 16% etc. - PX,Em,Rem,Pt - 12px or 12px to em or 12px pt - Time - time +15 years? now plus 15 hours? or need to convert a timestamp? - VAT - value added tax calculations, we all need this - Translations You can create your own translations to display results in your language - Keywords Extend the natural language in the queries so you can type 100 dolares a pesos and the code will see 100usd to mxn 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 Base Configuration There's only one global configuration and is the language, this configuration will be used to display the messages in your own language. View the Translations secction for the available languaes. Configure it with. calculate configure and select Set base language and enter the language for example es_ES For more information about configuration click here Currency You can use natural language or type a few characters and that's all, for example: 100 usd to mxn 100$ in mxn 100€ to $ 100 euros to dollars 100 euros a dolares (you can also write it in your own language) 100eur (If no target the currency will be converted to the base currency that you configured) All this examples will simply work, you can add spaces between the value and the currency or don't. If by any chance you don't remember the currency symbol or abbreviation simply type calculate list and select "List Available Currencies" (view the gift above) Currency Options By default the workflow will use exchangerates api to make the conversion, exchangerates has only support for 32 currencies, if you need support for all the currencies that this worflow includes you need to get a FREE API Key from https://fixer.io it takes less than a minute. The following options are available for the currency. Simply launch Alfred and type calculate configure and select any of the options below. View the configuration section for more info Set base currency This will become your base currency, if you type 100eur it will automatically be converted to mxn, examples of currency (USD, EUR, MXN, CAD, etc) Set currency locale Used to give format to the converted amount using the money format of your contry Set Fixer API Set your fixer API Key for support more currencies Currency Symbols You can also use currency symbols in your query for example 100¥ to € will be converted to 100JPY to EUR, here is a list of available symbols. Please go to the repo description on Github for a full list of supported symbols it's really difficult to write them here in the forum. View Currency Symbols Cryptocurrency You can use this in conjunction with currency to convert 100 cryptocurrencies to up to 168 currencies, again you can use natural language or simply pass the currency symbol and that's all. 2 bitcoin to dollars 0.1 bitcoin in dollars 5 bitcoins in ethereum 1 ethereum to ¥ 10 ethereum in mxn 1eth btc 1btc (If no target the currency will be converted to the base currency that you configured) Cryptocurrency Options You need to get a FREE API Key from https://coinmarketcap.com/api/pricing/ it takes less than a minute. The following options are available for cryptocurrency. Simply launch Alfred and type calculate configure and select any of the options below. View the configuration section for more info Set Coinmarketcap API Select this option and paste your API key and press enter to save it. Units You can write your query using natural language or just a few characters, either way this workflow will give you the result you need. 100 ounces to kilograms 100oz to kg 100oz = kg 100oz kg 10 years to months 10years to seconds 1 year to sec 1hr s 10 días a horas (use your own language) If you don't remember the unit abbreviation just simply type the name for example instead of "oz" you can type "ounce" or "ounces" or even use words in your own language for exaple "onza" or "onzas" in spanish. Finally if you still don't remember the unit abbreviation or it's name simply type calculate list and select "List Available Units" you can type to filter, etc. Please go to the repo description on Github for a full list of units it's really difficult to write them here in the forum. View Units Units Options The following options are available. Simply launch Alfred and type calculate configure and select any of the options below. View the configuration section for more info Set System of Measurement Here you can define your System of Measurement, this option is still in development but as the workflow grows this might be necessary for US users, by default the metric system will be used but you can define imperial or metric Percentages You can easily calculate percentages for example: 15% of 50 = 7.50 //7.5 equals to 15% of 50 120 + 30% = 156 //120 plus the 30% of 120 120 plus 30% = 156 //120 plus the 30% of 120 120 - 30% = 84 //120 minus the 30% of 120 120 minus 30% = 84 //120 minus the 30% of 120 30 % 40 = 75% // 30 is 75% of 40. Translations and natural language can also be used 120 más 30% = 156 Time Time is triggered by a keyword because is not often used so you can simply open alfred and type time Gives you the current time time Converts the timestamp to a regular date time 1577836800 Gives you the time from now plus anything you want time +15 days time now plus 3 days Number of days until specified date time days until 31 december The start date of current year time start of year The start date of specified year time start of 2021 The end date of current year time end of year The end date of specified year time end of 2021 It also works in your language time inicio de 2020 time fin de 2020 time dias hasta 31 diciembre Get information about date time 31 December, 2021 18:00:00 time 31/12/2021 18:00:00 time 12/31/2021 18:00:00 Calculate the difference between two dates time 25 December, 2021 - 31 December, 2021 time 31-11-2019 - 21-11-2019 time 11/31/2019 - 11/21/2019 Time Options The following options are available. Simply launch Alfred and type calculate configure and select any of the options below. View the configuration section for more info Set base timezone Base time zone to calculate dates in your time for example (America/Los_Angeles, Mexico/General, etc.) Add date format Configure a new date format so the date is displayed the way you want for example (j F, Y, g:i:s a) Delete date format It will show you a list of configured date formats, simply select the one you want to delete and press enter to remove it Time will use the language that you configure with Set base language VAT (value added tax) With this you can calculate the vat of a given amount. Like time, vat is also triggered with the keyword "vat" you can change the keyword in the workflow. Given the following query vat of 400 (with 16% vat configured, you can configure your own percentage) You will get VAT of 400 = 64 // VAT Amount 400 plus VAT = 464 // Amount plus vat 400 minus VAT = 344.82 // Amount minus vat VAT Options The following options are available. Simply launch Alfred and type calculate configure and select any of the options below. View the configuration section for more info Set VAT percentage for example (16%) Configuration You can easily configure the workflow simply by opening Alfred and typing calculate configure you will see a list of all the available options to configure the workflow, select the option you want and press enter then simply enter your value and again press enter to save it. Check the following gif if you have doubts. Translations Please check the available languages on Github, it's easier to update the information there and also how you can create a translation. Keywords Keywords are words that can be used when writing a query in natural language for example a keyword "ounces" will be converted to "oz", "kilometers" will be converted to "km" or "dollars" will be converted to "USD", "seconds" will become "s" and a large etc. This keywords allows the user to type in a more natural way and in their own language. You can write your own keywords to extend the functionality, please check the information on Github. Stop Words Stop words are words that can be used in the query when using natural language for example "100km to cm" - here the stop word is "to" Stop words are useful for two things: Allows the user to write more naturally and in their own language (e.g 100 dolares a mxn) "a" is the stop word Are used to check if the query has to be processed for example: 100km equals meters if the word "equals" is not registered in the stop_words array then it won't be processed. At the end this stop words are removed so 100km to cm becomes 100km cm. Please take a look at the readme on Github to learn more about this. For Currency, Percentages and Units this workflow will only process the query if it begins with a digit and it has at least 3 characters. Time and VAT have a keyword because those are not often used. Updates Updates are installed automatically when a new version is released you don't have to do anything but if want you can check for new updates manually just launch Alfred and type calculate update the workflow will check for updates and it will let you now if there are any updates available.
  5. 5 points
    deanishe

    Goodreads Search

    Search Goodreads.com from Alfred. Download from GitHub. Search by book/author List books by author Open details on Goodreads.com Add custom hotkeys to pass title/author etc. to your own URLs See the documentation on GitHub for more information. You need to get a Goodreads API key from here. Add it to the workflow with grconf > API Key Not Set.
  6. 5 points
    Just as a little sneak... native support for assigning the same hotkey to multiple Hotkey Triggers throughout the same and different workflows is coming to Alfred 4.1
  7. 4 points
    Alfred 4 Read about this workflow below. This is an update to address the new Alfred 4 data folder (thanks to xilopaint). DOWNLOAD Description Alfred 3 workflow to search and create notes in Evernote. Search Keywords ens to search in every note field ens @ to search in a selected notebook ens # to search notes with a selected tags You can use ent (search in titles only) or enr (search in reminders) or entodo (search to-do notes) or enrec (search notes updated within a week) or enu (search notes with a source URL) instead of ens. You can select multiple tags to fine tune your searching. Just add a second hash sign and select or type the tag e.g. ens #tag1 #tag2 :my query In addition, you can select a single notebook then tags too e.g. ent @notebook #tag1 #tag2 :my query Note that, if you want to select a notebook and/or tags, the query goes after the colon sign as seen above. Actions Return key to open the note Shift key to preview the note Option key to set a reminder Control key to paste the note text content to the top most application Function key to open the note URL Command key to append text (from clipboard, selected text or typed) or selected file(s) in Finder. After pressing the Command key a new Alfred window will be shown so you will be able to select the text source and the action: Return key will append without date Option key with append with current date Hint: You can also use the Command key to only add tags to a note. To do so, type or select a tag and don't type anything after the colon then select the source "Type a Note" e.g. enn #tag : Note that Alfred Fallback Search is also supported (you have to add it in Alfred 2 Preferences>Features>Default Results, then click Setup fallback results button). Create Keyword enn You can optionally type the note title or, for a more complex creation, follow the syntax below: @Notebook #tag1 #tag2 !reminder :Title @notebook: after typing @ a list of notebooks will be displayed then select one or type it; the default will be used if omitted #tags: after typing # a list of tags will be displayed then select one or type a new one (multiple tags are supported, type each one after a hash sign) !reminder: after typing an exclamation point a list of reminder suggestions will be displayed then select one or type a custom reminder such as in 4 days or 05/01/2014 or 05/01/2014 at 2:00 Title: at the end, after a colon (or the second colon if you are adding time in your reminder) Note that items of the syntax are optional, however the syntax has to end with a colon, with or without typing the note title e.g. #tag1 : Note Content Source From clipboard From selected text Typed directly in Alfred From Safari or Google Chrome URL From message(s) selected in Mail app From file(s) selected in Finder app: you can create one note with files or one note for each selected files. Alfred File Browser also supported. Type a Note also supports multiple lines and, in this case, the first line will be the title of the note e.g. enn Line 1 /n Line 2 /n Line 3 Actions Return key: create a note Control Key: create a note and open it Command key: append text or file to a note Option key: append text to a note with current date How to Append Highlight one of the note content source e.g. From Clipboard Optionally type tags and a reminder e.g. #tag1 #tag2 !tomorrow hold command key and hit return key select a note from the list (search by title only) and hit return key Mail Message subject as the note title Message received date as the note creation date Message Link as the note source URL A short header (e.g. sender) A plain text version of the email content Note Templates Read about templates here. Preferences Bring Alfred and type the keyword enpref: Search wildcard: you can set the workflow to automatically use the Evernote search wildcard (*) or you can set the workflow to use only if it is typed (the Manual setting may by faster in a huge note collection). Download Evernote 9 beta 3 Release date: 99 Jun 2019 Made in OS X 10.13.5 Requires Evernote 7.2 from evernote.com Requires Alfred 3 Download now Download Evernote 9 beta 2 Release date: 09 Aug 2016 Made in OS X 10.11.5 Requires Evernote 6 from evernote.com Requires Alfred 3 Download now For Alfred 2 Version 8.992 Release date: 20 Feb 2015 Made in OS X 10.10.2 Requires Evernote 6.06 from evernote.com Requires Alfred 2.6 or later Download now What's new? 9 beta 3: minor code optimizations and updated workflow preferences (enpref keyword) 9 beta 2: bugs fixed and Evernote API updated 9 beta 1: Alfred 3 support 8.991: Evernote 6.06 initial support 8.9: Yosemite beta and note templates support 8.7: interface bugs fixed 8.6: enn issue fixed Improved reminder time support e.g. Tomorrow at 2:00 Added support for tags that start with a hash sign e.g. #Home Added support for tags that start with an at sign e.g. @Work Added support for notebooks that start with an at sign e.g. @Notes Workflow should be faster in most of cases When appending from a search result now you can hold Option key to include current date Type a Note supports multiple lines (first line will be the title) e.g. enn Line 1 /n Line 2 New Keyword enl and its hotkey to load the last search query Added support for some of Alfred 2.3 new features Workflow version history here.
  8. 4 points
    sballin

    Search Apple/iCloud Notes

    Version 3.0.0 is out! Notes for this release: Rewritten in Go Faster searching Create a new note if none was found Shift+enter to search for query using Notes in-app search
  9. 4 points
    clarencecastillo

    Power Thesaurus Search

    Yep, I'm getting this issue as well. Something to do with verification failure of Power Thesaurus' SSL certificates. Will shortly release a hotfix for this. If this persists, please open an issue here. Edit: I've released the fix for this which can be downloaded from here. Will update the packal page with this update later.
  10. 4 points
    drgrib

    New Bear Alfred Workflow

    I've created a new Bear Alfred workflow here: https://github.com/drgrib/alfred-bear It is faster compared to the current Bear Alfred workflow because it is written in Go instead of Python and has optimized SQL queries. It also adds tag searching and autocompletion, link pasting, and clipboard content to note on creation. I do appreciate the author of the original Bear Alfred workflow because I started mine from his design.
  11. 4 points
    At the moment, when you assign a key combination to a particular hotkey in Alfred, it keeps you from using the same key combination with a different hotkey. While this make sense in most scenarios, when the hotkey is assigned to a particular app - as specified in the Related Apps panel of the hotkey, and selecting the option that limits the hotkey to when the app takes focus - it seems unnecessary to restrict the user from using the same key combination with other apps that might have focus. As a result, I'd like to request this feature be added to Alfred. Without this ability, it causes users to have to come up with increasingly ridiculous key combinations that they can never remember (OK ... that I can never remember 😉). Or, to rely on another intermediary app - like the Better Touch Tool - to assign app-specific shortcuts that are attached to External Triggers in Alfred. BTT is great, but let's cut out the middleman and keep Alfred's shortcuts in Alfred!! Thanks for your consideration! PS - This request comes from a previous that can be found here:
  12. 4 points
    nicooprat

    OCR: extract text from snapshot

    Hi there, Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds. https://github.com/nicooprat/alfred-ocr PR welcome. Hope it helps!
  13. 4 points
    Paste text sequentially. Each time you invoke the shortcut, the previous clipboard entry will be pasted. After a set number of minutes—configured with the reset_mins Workflow Environment Variable—the shortcut will begin again with the most recent entry. Call :sequentialpasteresetcount for a manual reset. Download | Source
  14. 4 points
    Andrew

    Duplicate apps in results (10.15 and V4)

    @unitof Alfred is showing the actual location of the apps as passed back to him by macOS when searching. I'm going to be adding a bit of logic to be able to show the virtual locations of the apps (/Applications/.../) in a future release. Cheers, Andrew
  15. 3 points
    wrjlewis

    Notion.so Instant Search Workflow

    For those who love Notion.so (really great documentation & more tool), you will know how useful it would be to get instant search results from Notion in Alfred. To that reason I've created a workflow that does exactly that, allowing you to search your Notion.so workspace from Alfred, showing instant results, and the ability to open the browser to your selected page. There are two env variables required (the notion search api isn't documented), these can be obtained by inspecting the network request from a notion search, as documented in github below. Check it out and download here: https://github.com/wrjlewis/notion-search-alfred-workflow/blob/master/README.md
  16. 3 points
    Safari automatically reads your text messages and asks you to auto-fill any two-factor codes it finds: I don't use Safari (I use Chrome) and I was sick of having to manually type the codes from my messages. This workflow reads your message history and finds the most recent 5, 6, 7, or 8 digit two-factor codes. When you select a code and press <enter> it is copied to your clipboard, or you can press <⌘+enter> and it will copy the code to your clipboard and paste it into the active application. Keyword: 2fm Download the latest version: https://github.com/squatto/alfred-imessage-2fa/releases/latest/download/iMessage.2FA.alfredworkflow GitHub: https://github.com/squatto/alfred-imessage-2fa Packal: http://www.packal.org/workflow/imessage-2fa
  17. 3 points
    vitor

    Instagram Search Query

    Had to remake it from scratch. Ugly but it works. Here you go.
  18. 3 points
    Vero

    Alfred 4.1 Is Now in Pre-Release

    A few moments ago, we popped Alfred 4.1 on the pre-release channel. It's a big release with lots of tasty stuff for you to sink your teeth into. New workflow objects for integrating with files and the File Buffer Shared Hotkeys for workflows Embedded Snippets Contact Actions Built-in File Search Troubleshooting from the Help preferences And loads more! Take a look at the Update tab for a complete change log, as there's a lot in this release, which is free to all Alfred 4 Powerpack license holders. We'd love to get your help in testing out the new features before the general release! To get started, launch Alfred's preferences to the Update tab, choose the "pre-releases" option and grab the latest build Cheers, Vero
  19. 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. The External Triggers allow to temporarily override which apps to keep alive by passing them as the argument. 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
  20. 3 points
    For anyone landing on this thread: the previous iTerm scripts have changed ownership (disclaimer: I’m the new author) and have been rewritten from scratch, so if you have any issues try the newer versions. You can find them on the new repository, or by using the old links as they will redirect to the new one.
  21. 3 points
    This is a workflow for searching and adding bookmarks to Raindrop.io. To search your Raindrop.io bookmarks, open Alfred, type r, space, and then your search query, and the results will show directly in Alfred so that you can select one and press enter to open it in your browser. Raindrop.io collections and tags will also show in the search results together with bookmarks, and you can select them to browse or search their content. Before you have started to type a search query, you also have the option to browse your collections instead of starting with a search. If a web browser is the frontmost app when you open a bookmark from this workflow, it will open in that browser. If you are working in another app, the bookmark will open in your default browser. Hold the cmd-key to view the URL for a bookmark. Hold the ctrl-key to view the description for a bookmark. Hold the option-key while pressing enter, or use cmd+c to copy the URL instead of opening it in a browser. Press enter before you have started typing a search query, and Raindrop.io itself will open in your active web browser. To add a new bookmark to Raindrop.io, first make sure that you have the webpage you want to add opened in a browser and that it is the frontmost window, and then open Alfred and type ra followed by a space In the first step you choose collection for the new bookmark, and you can either type to search for the collection you want to add the new bookmark to or just select one in the list. Hold the cmd-key to save when you select the collection, and skip setting a custom title or adding tags. In the second step you get to change the title that the bookmark is saved with. Hold the cmd-key to save and skip the tag adding step. In the third step you get to add tags to your new bookmark. You can either simply type them out, or select from a list of tags that matches what you have started to type. Separate multiple tags with comma. Hold the cmd-key to save when selecting a tag in the list, and skip the option of adding more tags. The Firefox support for adding bookmarks was made possible with the help of deanishe's great workflow Firefox Assistant, which needs to be installed in Alfred for the Firefox support to function. Get it here: https://github.com/deanishe/alfred-firefox If the workflow is not authenticated with Raindrop.io when you initiate it, you will be taken to the authentication process. To set keyboard shortcuts, go to the "Search Raindrop.io" workflow in the Alfred preferences and look in the top left corner, where you can set keyboard shortcuts for searching Raindrop.io, or for adding bookmarks. To change other settings, go to the "Search Raindrop.io" workflow in the Alfred preferences, and click the [𝒙] button in the top right corner, where you get descriptions of the options in the information view to the left, and set the options by changing the value of the variables to the right. One special thing with this workflow is that it detects if the topmost window is a browser window, and then opens the search results in that browser. So, if you are currently working in Firefox, your bookmark will open in a new tab there, and if you are currently working in Safari, or in Chrome, the bookmark will open there instead. If the topmost application is not a browser, the bookmark will be opened in your default browser. This makes this extension perfect for those who use more than one browser. You can always open bookmarks in the exact same way, and still have them displayed in the browser you are currently using. The supported browsers are: Safari, Chrome, Firefox, Edge, Brave, Vivaldi, Opera, Chromium, Chrome Canary, Safari Technology Preview (and SeaMonkey, but only for opening bookmarks) Download at Packal here: https://www.packal.org/workflow/search-raindropio View at GitHub here: https://github.com/westerlind/alfred-raindrop-search Changelog 1.5: Many changes: Tags now display in search results, and you can select them to list or search for bookmarks with that tag When adding a new bookmark, you can now set your own title for it, and add one or more tags While adding tags, you can either simply type them out, or select from a list of tags that matches what you have started to type You can add more than one tag by separating them with a comma: tag1, tag2, tag3 If you type out a tag that does not exist yet, it is created when you save the bookmark Hold down the cmd key if you want to save right away when selecting a tag in the list. Just pressing enter leaves the option of adding more tags. If you want to skip the new options while adding a bookmark, hold the cmd key when you select collection or when you set the title, and the options that follow will be skipped and set to default (Title from the webpage, and no tags) When adding bookmarks, the description is now set to what is specified in the webpages meta description tag, if there is one. This means that in most cases you will get the same description for your new bookmark as what is seen as description for that webpage on search engines. If there is no meta description tag, no description is set. In search results, the collection name, tags and domain name of a bookmark is now shown in the subtitle instead of the first words of the description, like before. This is because that is likely more useful in most cases. You can view the description by holding the ctrl key (And there is a setting to change this back if you would want to, see below) There are now settings! You set them by changing Alfred Environment Variables, and there are now two of them for changing what the bookmark subtitles show, and for changing how subcollections are displayed. 1.4.1: Fixed a bug that would make the bookmark adding feature fail in many cases. If that didn't work for you before this, it probably does work now. 1.4: Raindrop.io collections will now also show in the search results together with bookmarks, and you can select them to browse or search their content. Before you have started to type a search query, you also have the option to browse your collections instead of starting with a search. 1.3.1: Fixed a bug that made the collection list not loading under certain conditions. For example the first time you tried to add a bookmark. 1.3: Support for adding new bookmarks to Raindrop.io from the currently active browser. 1.2: Added option to have a keyboard shortcut for direct access to the Raindrop.io search, and added the ability to hold the option key while pressing enter to copy the link instead of opening it in a browser (you could already copy the link with cmd+c before, and that is still possible) 1.1: Implemented a proper authentication mechanism, so that this is now handled in a simple to use way that is initiated directly from the workflow if it senses that you are not authenticated yet. 1.0: Uses Raindrop's new public API to make the search inside Alfred, so that you can open the bookmarks right from Alfred without having to ho through the Raindrop.io website first. 0.9: First version. Could only open the Raindrop.io website to view the results of your query, as Raindrop's public API was not released yet
  22. 3 points
    @Macchio - @alfredpleb - @blizzrdof77 -- I found a bug that prevents certain keywords from appearing in the search results. Need to beef up the JSON parsing a bit but I should have it working in a day or 2. I'll definitely post an update soon!
  23. 3 points
    dfay

    Snippet Creator

    See for the background. Snippet Creator adapted from https://github.com/derickfay/import-alfred-snippets There are two keywords, both of which result in the creation of a new snippet: sc - (single step) Required fields: name|keyword|content -- separated by | sc2 (multi step) - Enter the snippet text, then you'll be prompted for the keyword / name -- in the interest of speed and simplicity the name is set to the keyword. sc2 also has triggers to pre-population with selected text or clipboard contents set prefsPath in the environment variables to the path to your snippets folder - e.g. "/Users/someuser/Dropbox/Sync/Alfred 4/Alfred.alfredpreferences/snippets/" and newSnippetFolder to your desired target folder The workflow posts a notification on success to remind you of your newly created snippet. https://www.dropbox.com/s/85nc52o241qobvm/snippet creator.alfredworkflow?dl=0 Version 0.2: - updated to use a pipe | as a delimiter instead of a comma, and to remove the requirement to enclose text in quotes Version 0.1: initial
  24. 3 points
    rozz3r

    Power Thesaurus Search

    Thank you. As a writer, this is one of my most used workflows!
  25. 3 points
    @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.
  26. 3 points
    wtellier

    Search IMDB

    Because the previously shared workflows for IMDB-integration didn't work anymore I made my own. This is my first publicly shared workflow and this is also my first python-script. Probably things could have been programmed better, but it works for now. So its not really fancy, but I think its workable, as long as IMDB doesn't change the API. Hope this workflow is some use for you all. https://github.com/wotell/alfred-workflow-imdb/blob/master/bin/Search%20IMDB.alfredworkflow
  27. 3 points
    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 👌🏽
  28. 3 points
    @dfay, @vitor & @deanishe - Thanks for taking the time out to help a coding neophyte, like myself. I really appreciate it. Honestly, I can't thank you guys enough. Alfred's great, but it wouldn't be the first thing I'd install on a Mac, if it weren't for you guys and others on the forum. I've learned a ton from you guys! For others who may be struggling with script filters and JSON outputs, I've uploaded a new version of the workflow to use as a learning example: Download Workflow. The workflow combines everyone's suggestions from above: AppleScript, JavaScript & Ruby. All three are nearly identical, with the exception that the JavaScript and Ruby versions lack the prefix "Same Words" in the subtitle. This should be enough to get you started, if you're also struggling to get your head around how script filters' outputs work.
  29. 3 points
    @akido Type "reload" into Alfred to force the application cache to be refreshed; You're seeing the pre-Catalina and Catalina location for your apps, so reloading will remove any old legacy locations. Cheers, Vero
  30. 3 points
    Also, if anyone's considering building a "Reveal in Finder" workflow, I'd very strongly recommend using a model similar to my AppScripts or Safari Assistant workflows. Provide a built-in and a user script directory, and put application-specific scripts in there. When the workflow's run, it should grab the name/bundle ID of the active application, look for a corresponding script in the script directories and run it if found. The potential for requests to add support for apps is basically limitless, so you really want to make it easy for users to add support for apps themselves, and to answer any feature requests to support app XYZ with "Sure. Write the necessary script, submit a PR, and I'll add it to the next release." Otherwise, you're going to be dealing with endless support requests, many of which will be impossible to implement.
  31. 2 points
    deanishe

    Safari Assistant

    Safari Assistant All-in-one workflow for Safari. Filter tabs, bookmarks (and bookmarklets), reading list and history. Several built-in actions. Easily add your own via scripts. Assign your favourite actions (or bookmarklets) to alternate actions (i.e. ⌥↩, ^↩ etc.). Download from GitHub releases. Source code. Built-in tab actions: Close Tab Close Window Close Other Tabs Close Tabs to Left Close Tabs to Right Built-in URL actions (also work on tabs): Open in Private Window Open in Default Browser Open in Chrome Open in Firefox Usage bh [<query>] — Search and open/action bookmarks and recent history. ↩ — Open item in browser. ⌘↩ — Show URL actions for selected item. ⌥↩ — Run custom action on selected item. ^↩ — Run custom action on selected item. fn↩ — Run custom action on selected item. ⇧↩ — Run custom action on selected item. bm [<query>] — Search and open/action bookmarks. ↩, ⌘↩, ⌥↩, ^↩, fn↩, ⇧↩ — As above. bml [<query>] — Search and run bookmarklets. ↩ — Run bookmarklet in active tab. bmf [<query>] — Search bookmark folders. ↩ — Enter folder/open bookmark. ⌘↩ — Open all bookmarks in folder/show URL actions for bookmark. hi [<query>] — Search and open/action history entries. ↩, ⌘↩, ⌥↩, ^↩, fn↩, ⇧↩ — As above. rl [<query>] — Search and open/action Reading List entries. ↩, ⌘↩, ⌥↩, ^↩, fn↩, ⇧↩ — As above. tab [<query>] — Search and activate/action Safari tabs. ↩ — Activate the selected tab. ⌘↩, ⌥↩, ^↩, fn↩, ⇧↩ — As above. See the README on GitHub for full usage instructions.
  32. 2 points
    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
  33. 2 points
    godbout

    Alfred AirPods Pro Connector

    hi. a shameless fork of Alfred AirPods Connector (https://github.com/mariuskiessling/alfred-airpods-connector). i had to change the icons, really, i had to. also i like to have different keywords for connecting and disconnecting, so here we go. Doc, screenshots, releases on GitHub: https://github.com/godbout/alfred-airpods-connector Release on Packal: http://www.packal.org/workflow/alfred-airpods-pro-connector enjoy! ☀️
  34. 2 points
    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
  35. 2 points
    Here's another little tool I've just whipped up: Get an instant list of the current time in various cities around the world. Which you can customize, of course. Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset. Enjoy. As usual, I welcome comments, bug reports, feature requests, etc. ---- 28 March 2013 - UPDATE to v1.5 Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle. A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers. ---- 31 March 2013 - UPDATE to v1.6 New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think. [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole. ) ---- 2 April 2013 — UPDATE to v1.61 Small fix for Dutch (Netherlands) flag matching. ---- 22 March 2014 — UPDATE to v1.7 City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ---- 22 March 2014 — UPDATE to v1.7a New 256x256px icon
  36. 2 points
    Andrew

    File / folder Interaction

    @vitor these are configured in Alfred's Advanced prefs, you can disable "Action visible results" and also configure the "Reveal in Finder" shortcut which should work in default results and navigation. Cheers, Andrew
  37. 2 points
    Congratulations, you have won a body part! The rump is very good, sir.
  38. 2 points
    I would bet a body part that it does. @deanishe cares about correctness and that’s too important a detail to leave out.
  39. 2 points
    Great workflow. Its replacing a previous one, One recommendation. I would either add another script filter to include all skin tones or modify your script to include `["./uni", "-q", "emoji", "-tone", "all", query]).decode()` I did that because I like to see all tones. I also added a Auto Paste + Transient in Clipboard and No Auto Paste + Transient in Clipboard
  40. 2 points
    I'll add a note to think about this, as I agree, \t and \n are much more clear.
  41. 2 points
    In macOS Catalina, Apple have removed access for third-party apps to Mail.app results by excluding it from the Spotlight metadata that apps like Alfred can use to return results. As such, the workflow won't return any results, as macOS no longer returns any Mail results. Here's a thread including responses from an Apple employee explaining what's happened to the Spotlight index. Within this thread, there's a somewhat possible workaround of copying the Mail folder to a different folder within your Home folder (e.g. in Documents), it becomes indexable. However, we can't advise doing this and you'd be doing so at your own risk, as it could cause other issues. https://forums.developer.apple.com/thread/121187#379221 We are hopeful that Apple will realise that this is necessary to third-parties and bring this back. Cheers, Vero
  42. 2 points
    Connect two Copy to Clipboard Output, but add a Delay Utility between them (even 0.5 seconds worked, in my tests). On the second Copy to Clipboard Output, have {clipboard:1} instead of {query}.
  43. 2 points
    I'm going to start backwards here. The process of discovering new workflows is harder for non-developer users than it should be. I understand that wanting to cross the threshold from just building a Mac app → running web infrastructure is a leap that the developers may not want to do. As a developer, I understand the reasons. But at this point, I think that not having a first-party workflow directory is reaching a point where it makes quality workflows that much more difficult to find, trust, etc. If the core team doesn't want to do this, then MUCH of my feedback falls on deaf ears. But I think the community has reached a point where we need something more reliable and trusted to help make sense of the chaos. It's something that I believe would make the PowerPack (and workflows, specifically) that much more valuable to the community. This is a pretty foundational idea behind much of my feedback. "Integrations" and "leverage" are awfully vague words. What do you mean exactly? Tying Alfred to specific services is a very big ask (strategically-speaking). I think you'd need some pretty compelling arguments to do so. They are vague. I'm brainstorming here, not solutioning. IF we assert that there would be a first-party site for discovering workflows (as mentioned at the top as being a foundational idea), we could do something like what npmjs.org does for tools like Yeoman — any npm package that starts with the work `yeoman-` is auto-discoverable by the Yeoman CLI tool. The Alfred team documents and/or tells people that adding certain named-topics to your GitHub repo for a workflow will enable it to be auto-indexed by the first-party workflow discovery site. Developers build workflows and apply these topics to their repos. There could be a process (cron, whatever) that polls the GitHub API for any repository with a topic of `alfred` (or `alfred-v3` or `alfred-v4` — however it is decided) and injests that data into the backend of the first-party workflow discovery site. GitHub is a major, major service which is owned by Microsoft. This feels like a reasonably safe bet, so let's do this first. Atlassian (makers of JIRA and Confluence for enterprises) build BitBucket. That one also feels reasonably safe. And GitLab is a third which is gaining in popularity. That feels a little less safe, so let's talk about doing that one last. I'm recommending that solution based on these experiences: This forum's software is not great at the job it's been given for workflows. Packal appears to be abandoned. PacMax is… I'm not sure. But I see a TON of duplicates that you can't find until you click through and do some digging. And for all of these, you can write a README, but then you'd need to copy-paste it into the forum software or duplicate some levels of effort to get them listed on the workflow site, du jour. There's too much friction. Packagist, npmjs, and even Golang have solved this better already. Let's copy their best ideas. Which solutions and churn? The Node community's updater is broken, but Vítor's and mine are well-maintained and have been working since the day they were introduced. Alleyoop, Monkey Patch, etc. Don't do that. Use /usr/bin/security to put them in the Keychain. Sounds awesome. Glad to know about it now. https://www.google.com/search?q="%2Fusr%2Fbin%2Fsecurity"+site%3Aalfredapp.com How? It seems to me that anything markedly easier than pasting debugger output into a forum thread or GitHub issue would require dedicated infrastructure. If you submit a bug against one of my workflows, how am I going to get back to you? The Alfred team can't just give me your email address. The author can provide a URL to the place where they want to collect the feedback. Maybe it's a GitHub Issues tracker or something. Alfred provides that URL as a clickable link in it's UI when you're looking at the debugging data. Now that's I'm hunting around for it, I see the debugger "bug" icon. For non-developers, how do we instruct them (in the Alfred UI) how to send the workflow developer the required information. I think we can simplify that first step — kinda like a 0-RTT in HTTP/2. There already is. You use /usr/bin/env in your shebang… But it's generally better to hard-code a path because the versions of languages that users install vary a lot more than the versions installed by Apple do. If I use /usr/bin/python, I have a much better idea what I'm going to get than if I use /usr/bin/env python, which might point to some stripped-down Anaconda version of Python that's missing a bunch of features or even a fundamentally-incompatible version of Python 3. It sounds like I wasn't very clear and you've missed the point I was trying to make. The workflow developer includes a file inside his workflow (call it `requirements.sh` for example). Alfred runs that script on install, and expects a specific output format from the script, which would tell Alfred if something is missing. (Alfred itself just runs the script and returns the results in a user-friendly way — it doesn't know/care about the runtime.) The workflow developer includes a second file inside his workflow (call it `install.sh` for example). When the end-user (non-developer) clicks "Proceed" (or whatever), Alfred runs that script, passing along the results from the installation script so that that installer knows what to install. (Alfred itself just runs the script and returns the results in a user-friendly way — it doesn't know/care about the runtime.) This is an example of the tension between trust/security and convenience. This would enable non-developers to make sure their systems have the runtimes needed. Alfred makes no effort to pay attention to the runtimes — it would only facilitate the "conversation" between developer and end-user. Also, macOS is going to stop shipping things like Python, Ruby, and PHP with their systems by default. Any workflows which rely on language runtimes are going to have a bad time if we have to ask the end-users to "Install Node" or "Install Python, but not 2.x, because you need 3.x". I'm just looking for an approach which can simplify this exchange for (non-developer) end-users like my kids and wife. Disagree totally with this one. macOS comes with plenty of very capable languages. If a workflow developer wants to use something else instead, then I think it's up to them to deal with the problems that causes. It also wouldn't work particularly well in practice because some of the worst offenders (the Node guys) bypass Alfred's own install mechanism completely anyway. Presumably, Alfred will have to gain some knowledge of runtimes for future versions of macOS, but they'll necessarily be limited in number (it isn't going to download and install any old thing you point it at for obvious security reasons), and some developers will doubtless insist on requiring other ones. This sounds a lot like "just upgrade your browser" back in the day. It doesn't matter how right you are if no one wants to work with you. I definitely think we need to push this forward instead of giving-up. Validating issues at install-time is the right time to perform the validation from a user-experience perspective. Trying to run a workflow which relies on features of Python 3.5 (or whatever newer-than-what-macOS-ships-with) by a non-developer results in looks that say "why the hell are you installing this piece of junk on my computer?" Look across the community of workflows (wherever they may be — different problem), identify most popular languages, and start with developer guides for those languages to start. I think that the very-hands-off approach of the Alfred core team has led to a sprawling mess. Now that we (collectively) have a better sense of the pain points for developers, we can work with the development team to step-up efforts. That might mean having strong opinions that not everybody agrees with… and that's OK. How do you propose that should work? fzf works with line-based input, which is effectively a stream. Alfred uses JSON, which isn't structured that way. And as with fzf, it would only work if the filtering were left to Alfred, so you wouldn't be able to implement any smarter, context-aware filtering in your workflow if it were based on a streaming model because Alfred would have no way to inform your workflow that the user's query has changed. The rerun feature already allows you to "stream" paginated results in a way that's compatible with JSON and implement your own filtering. (Granted, it's a bit of a pain to do, though.) Not sure. It's more brainstorm than solutioning. But if you think of other services with streaming results, I'm going to use Amazon S3 as an example. S3 has no idea how many buckets you have, nor how many files you have, at the API level. It simply says "here are 1,000 results, and this endpoint will tell you how to find the next results". So, you might have 15,000 results. But all you can do is fetch 1,000 at a time. You start to filter against the list of results, and the source set of results changes while filtering. And Alfred uses JSON (and XML) now. Is there something that says we can't have an alternate format that is optimized for streaming? Something with buffers that get dumped as new results become available? (Yes, I admit that this may be a bit of an edge-case, but there are some cool things I've wanted to do with AWS that only works when the result sets are small and not enterprise-y.) A very fundamental design goal of Alfred is that it does as little as possible when it's not actively being used. This is rather contrary to that goal, and also currently pretty easy to do using the very robust APIs macOS already has for this purpose. Is it a design goal? I mean, cool if it is. But what if you want to say "do this thing for me, and keep working on it until you're done, whether the UI is still up or not". Being able to jump back into flow by clicking a Notification would be cool. Also, non-developers don't know about the "very robust APIs macOS already has" (which I agree with). I would just love to see support for them exposed via Alfred. I'm not suggesting to re-invent any wheels. But having my wife be able to ask Alfred who her Pinterest customers were (for a given timeframe? Ever?), filter by typing a name, and press return to launch an email client with the customers email address pre-filled seems like a really cool non-developer use-case that Alfred MAY be suited for. Possibly. But damn, that would be mind-blowing. It means doing quite a lot of work, and it's not very practical. Especially not at the level of curation you're talking about. Aside from the technical and time issues, there are legal ramifications. The last time I saw the stats, the most popular workflows by far on Packal were for illegally downloading copyrighted content. Back to my first point, yes I acknowledge that it's some amount of work. I strongly believe that it's something the community needs, which is independent of whether or not the Alfred core team wants to make such an investment. (That's why so many 3rd party versions come and go!) "Legal ramifications" sounds very negative. "Understanding the legal position" means the same thing, and is more neutral. IIRC, the Alfred developer(s) are in the UK, and would fall under UK law. In the US, we have the DMCA which protects websites which collect "User-Generated Content" with a DMCA takedown process. But that's just for copyright violations. BitTorrent, Inc hasn't faced the same kind of legal trouble as the torrent sites because it's simply a tool with legitimate non-illegal (there is no such thing as being "legal"; only that it's "not illegal") uses. IANAL, but Alfred seems to be a tool with many (most?) legitimate, non-illegal uses. The "first-party workflow discovery site" could make a strongly-opinionated statement and say that they will not allow certain kinds of workflows (like Apple does with the App Store), and any that are found in violation will be blacklisted by the discovery site. How to pay for it? Ideally, it would be volume-of-PowerPacks. The better workflow ecosystem drives more sales of the PowerPack, and a portion of the funds from the PowerPack goes back into infrastructure costs. With things like AWS or GCP, and a background in highly-scalable whilst cost-effective web engineering, you can start cheap, and grow as the PowerPack users grow. Small instances with lots of caching, Lambdas with API Gateway, and you can build it (but this is also my wheelhouse, so… it sounds easy and cheap to me). Perhaps we look at charging 99¢/month (USD) for users of this service, background tasks, and other strong value-add components. The free-loaders would automatically be filtered-out, and the people who would actually be using it are contributing to keeping it running. It's how businesses have operated for thousands of years. But the value-add would need to be strong. The more useful cloud features, the more users feel like their money is well-spent, and the cost-per-user ratio swings lower at higher volumes of users. I don't even think it would be that tough of a sell. For $2.99/mo, you get a "professional" account and a nice badge on your profile. And some other features. Letterboxd and Trakt.tv do a good job of this. But that's just a brainstorm… These don't feel like unsolvable problems.
  44. 2 points
    Subject22

    Restart Alfred Workflow

    Thanks! I've updated the repo and the first post.
  45. 2 points
    Bloody hell. That was fast!
  46. 2 points
    sure, I'll add that ASAIC 👍
  47. 2 points
    The “Don’t close the Alfred window on actioning result” Window Behaviour option choice is always a hard one for me. I have multiple nodes in multiple Workflow where I want both behaviours at different times. One way to achieve this is to add a new connection with a modifier that performs the opposite behaviour. This is hacky at best, and needs to be added manually each time to each specific option. My suggestion is a new behaviour with a global shortcut. Let’s say we’re on a result window that typically closes when picking a result. We double press ⌘ (or any other shortcut) and get a small padlock on the top right (I’ve used icons from my Workflows because I had them on hand). The window will stay in the “Don’t close the Alfred window on actioning result” mode until we dismiss it, at which point everything goes back to normal.
  48. 2 points
    At the end of this thread there’s an example of trying to target multiple PDF apps (Skim, Preview and Devonthink) with a single Applescript - it’s doable but requires a lot of testing and customizing - unfortunately Applescript grammar isn’t standard even for these most basic tasks.
  49. 2 points
    I created a simple workflow that opens your personal Zoom.us meeting using your Personal Meeting ID. Quickly Launch a Zoom Meeting using your Personal Meeting ID To Get Started 1. Get your Personal Meeting ID ({personalMeetingID}) 2. Paste PMI into personalMeetingID value column ----> 3. Trigger Alfred type `zm` and press `Return` Expected Behavior * Alfred will launch Zoom.app * Alfred will spawn a new tab in Chrome * Alfred navigates to your Zoom Meeting URL * Zoom does it's thing * The Zoom Meeting URL is copied to your clipboard Note I Chose chrome, but it should work with the browser of your choice I haven't tested this without Chrome being open. https://www.dropbox.com/s/jasi3gt243s6o4y/Open Your Zoom Meeting.alfredworkflow?dl=0
  50. 2 points
    theSquashSH

    Keep clipboard history forever

    +1 I'd be willing to pay >another $30 on top of my existing Legendary license for unlimited clipboard history, and I'd fully accept any CPU/Memory hit necessary to get it. I use Clipboard History as a general buffer for everything in my life, and losing everything beyond 3 months is a frequent source of headache. Here's a small sample of a few recent things I've lost due to history expiring: flight confirmation details commit summaries with commit ids (detached commits that are hard to find due to deleted branches) important UUIDs ssh public keys many many many file paths (lots of obscure config file paths that I never bother to remember) entire config files blog post drafts comments on social media form fields on websites It's always stuff that I don't realize at the time would be important later so it would be pointless to try and use snippets for most of these. Having a massive index of every meaningful string that's passed through my brain is incredibly useful. If needed you could hide "6 months" "12 months" and "unlimited" behind an "Advanced settings" pane and display a big warning about potential performance downsides. For now I just periodically back up `~/Library/Application\ Support/Alfred/Databases/clipboard.alfdb` to a separate folder, and merge the rows in it with a main database. This at least allows me to query further back by querying the merged database directly. Maybe I'll build a workflow to do that if I have time, but no promises. I've created a script that handles the backup of the db, merging it with an infinite-history sqlite db in my home folder, and searching functionality. /* Delete any items that are the same in both databases */ DELETE FROM merged_db.clipboard WHERE EXISTS( SELECT 1 FROM latest_db.clipboard latest WHERE $UNIQUE_FILTER ); /* Insert all items from the latest_db backup */ INSERT INTO merged_db.clipboard SELECT * FROM latest_db.clipboard; Full source: alfred-clipboard.sh (it's a fully functional infinite-history solution for Alfred, with backup, search, exporting, etc.) One thing I want to try is periodically overwriting the Alfred internal db with my merged one, and translating all the older timestamps so that they're artificially set to something within the last 3 months, that way I can accumulate infinite history without Alfred attempting to expire anything. In theory it should work fine, I'll probably update my script to do that sometime in the next week. One thing I cant figure out though is the format of the timestamps (e.g. `584601195`), they're not valid UNIX timestamps, they must be offsets in seconds from some custom hardcoded date. When I tried prepending `1` to make it something like `1584601195`, it becomes a valid unix timestamp, but the time is ~4 months in the future! If anyone has more info on the schema, let me know. I also tried hacking around the limit by changing the Alfred binary directly but unfortunately I was only able to find the limit in the .nib file (which is useless as it's just the GUI definition). I'd have to properly decompile Alfred it to find the actual limit logic... $ ggrep --byte-offset --only-matching --text '3 Months' \ '/Applications/Alfred 3.app/Contents/Frameworks/Alfred Framework.framework/Versions/A/Resources/AlfredFeatureClipboard.nib' 12590:3 Months (Now I just have to convince the Google Chrome team to also allow storing browser history longer than 3 months... then the two biggest sources of data-loss pain in my life will be eliminated).
×
×
  • Create New...