Jump to content


Popular Content

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

  1. 4 points

    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
  2. 3 points

    Instagram Search Query

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

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

    Microsoft Teams

    Has anyone created a workflow to work Microsoft Teams? Would love to see one that allows you to message from Alfred. Thank you
  7. 2 points

    Note Taker — Keep small bits of text

    Call nadd, type a name, and press ↵. Your clipboard contents will be saved to a txt file of the chosen name. Retrieve your notes with nview. ⇧ or ⌘Y will quicklook its contents; ↵ will copy them; ⌘↵ copies and deletes; ⌥↵ opens the note in your text editor. To keep notes synced between machines, use the notes_dir Workflow Environment Variable to pick a custom save location. Download | Source
  8. 2 points
  9. 2 points
    The upcoming Alfred 4.1 has a new Buffer workflow object to both place files into the buffer, and get files back out again, so you'll have quite a bit of flexibility with what you do
  10. 1 point

    Favorite folder

    @briansurg When you say "the file menu", do you mean Alfred's File Navigation? Or the macOS menu? It's possible, with the Powerpack, to create workflows to perform different actions depending on which app is currently in focus. If you clarify exactly what you want to achieve out of the process, we'll be able to confirm what's possible. With regards to the post being hidden - I'm the one who hid it temporarily, while trying to manage the forum from my phone on a Saturday afternoon. I'd misread the post at a glance and read it as though you were declining to provide a Powerpack license. I now see it's a case of reading too quickly, and your thread is visible again. I will however take the liberty of closing and hiding your other thread debating with @vitor the merits of my decision. This is a friendly forum where we, as the creators of Alfred, and the community do our best to help users. There was no ill intent, and the thread in question is no longer relevant. If you opt to buy a Powerpack license, and fill in your forum details accordingly, at that stage we'll be able to help you create a workflow for your use Cheers, Vero
  11. 1 point

    Japanese Translator

    Easily and quickly translate from Japanese to English or vice versa using this workflow! I thought this would be a helpful workflow for those of you out there who are learning/interested in learning Japanese! It makes looking up and double checking words/sentence much faster. This work flow offers three tools: Vocabulary definitions straight from Jisho.org Japanese Verb conjugations Sentence translation using google translate To install, visit my packal or GitHub. Demo: Note: conjugation takes a little bit longer to generate compared to the vocabulary as vocabulary utilizes Jisho.org's API to gather definitions, while the conjugations are gotten through Beautiful Soup 4.
  12. 1 point
    Thank you for the suggestion @dfay! I accomplished this using a List Filter and the Conditional utility. Worked like a charm!
  13. 1 point
    @combinatorial I'm not seeing any unusual behaviour with this. I suspect there is a hotkey conflict or issue on your Mac causing something to still have focus (e.g. Spotlight). You could try one of the two following things: Change Alfred's hotkey back to the default alt+space and see if the behaviour is normal Check the cmd+space troubleshooting to make all listed macOS features are disassociated with cmd+space: https://www.alfredapp.com/help/troubleshooting/cmd-space/ Cheers, Andrew
  14. 1 point
    Create temporary email inboxes via Teleosaurs Mail. Call tmpmail to make a temporary email address and open a background tab with the corresponding inbox. The address will be copied to your clipboard. Giving an argument will try to use that specific name, while leaving it blank will create a random address. Download | Source
  15. 1 point

    AirPod Connector

    @vitor Done...implemented and released Thank you for the tip!
  16. 1 point

    Alfred on macOS Big Sur 11.0 beta

    @Andrew Just confirming for me at least that it runs fine on Big Sur
  17. 1 point

    Alfred 4.1 Is Now in Pre-Release

    Day--mhn... ! Alfred 4.1 Pre-release Build 1163, Monday 22nd June 2020 Workflow Changes • Workflow editor rendering tweaks to significantly improve the UI performance with very large and complex workflows • Updated Workflow Objects • Hotkey Trigger • The same hotkey combination can now be shared across multiple triggers matching different conditions • Added navigation to related hotkeys on the contextual popup menu for a hotkey trigger in the workflow editor • Prioritisation of shared hotkey to run, with the following priority: • In Focus match takes highest priority, e.g. Hotkey only when Safari in focus • Not in Focus takes secondary priority, e.g. Hotkey only when Spotify not in focus • Falls back to hotkey with no app specific focus configured • Hints shown in orange if a shared hotkey combination is in use • Hotkey Trigger object key combo background changes • Subtext under the hotkey field updates with warning • Show subtle grey background behind application icons on Hotkey Object in workflow editor where hotkey focus mode is set to "don't have focus" • Copy and Paste of object (or object configuration) now also retains the hotkey combo • Note that this will naturally create a conflict which you will have to manually resolve • Script Filter Input • Fix Run Behaviour sheet "Reset to Defaults" button to also reset the "Argument" section • Copy to Clipboard Output • Fixed to now correctly use clipboardtextrtf property from passed-in JSON config • Reorganise internal logic to enable plain text clipboard output to be derived from passed-in RTF from JSON config • Only save either clipboardtext or clipboardtextrtf into the configuration • Fixes automatic {cursor} positioning with mismatching rtf / plain text • Arg / Var Utility • Fix the Arg/Var Utility to correctly pass through array of strings if argument is set to {query}, e.g. a list of files • New Workflow Objects • File Buffer Action • Added new workflow action to interact with Alfred's File Buffer • Action in Alfred Action • Added new workflow action to show Alfred's actions panel for the passed in file • File Utility • Tests if file exists and outputs on one of two outputs accordingly • Option to also output the UTI for the file as a variable • This could be useful for subsequent branching using a Conditional • New Workflow Object Inbound Configuration • Access using the "Inbound Configuration..." popup menu for the selected object • External trigger identifiers can now be directly set on external objects • Conflicts are now checked between the External Trigger object, and any external identifiers set • You now have control over how a downstream input object presents its results between Direct and Keyword modes • Direct mode is the previous behaviour, where the input icon is placed to the right hand side and you see no keyword • Keyword mode places the input into Alfred's default results and sets it as unique (same as pressing return on a placeholder) • Workflow objects represent the presence of an external identifier with small hint on object input in Workflow editor • Double click the hint for faster subsequent access to the inbound configuration • The icon for both External Trigger and Call External have been tweaked to match the new hint • Fix internal variable types in workflow editor framework • Added "Filter Workflows by..." on the popup menu for workflow objects in the canvas for hotkeys and keywords • Makes it easier to find workflows with similar hotkeys and keywords • Standardise how an array of arguments is shown in the workflow debugger • Improve various subtexts throughout the workflow object configuration sheets Snippets and Clipboard • Snippets can now embed other snippets using the {snippets:} placeholder • Placeholder works in all expected places, for example, the Copy to Clipboard workflow output object • Note that nesting is only one level deep • Added a "Copy Placeholder" on the popup menu for a selected snippet to copy the relevant {snippet:} placeholder • Improve text placeholder framework • Improved processing efficiency by deriving plain text content from already-processed rich text content where applicable • more consistent behaviour between clipboard objects • Fixes issue where the snip keyword wasn't correctly processing rich text placeholders • Fix Snippet keyword to correctly respect the "Auto-paste on Return" option • Option to ignore org.nspasteboard.AutoGeneratedType in the Clipboard History Advanced preferences, enabled by default Contacts • Multiple Contact Actions can now be configured with modifier keys • Contact Actions editor sheet now correctly shows "Add" or "Save" button instead of just "Add" • Set the Add / Save button shortcut to be ⌘S • Action text at bottom of Contact Viewer now updates on mod key change to provide action hint • Improve the "type to search" in the Contacts Viewer • You can now press up and down to select the previous or next match for the typed filter 1Password • Added alternative ⌘↩︎ action to open the selected 1Password bookmark in 1Password instead of Open and Fill Troubleshooting • Start process of adding interactive troubleshooting built into Alfred's Help preferences to aid fixing common issues • Also add help links to key troubleshooting help pages • Troubleshooting is written to a Report file, for easy emailing and subsequent support • File Search • Run a number of diagnostic checks on a dragged in file to work out why it isn't being found General fixes and improvements • Fix Alfred using (and consuming) up/down key events when IME panel is showing (e.g. Pinyin selection panel) • Note that this fix is more of a "workaround" to a lack of Public API to officially support this • Recognise full width space U+3000 as an activator for Alfred's quick file search mode • Show Base32 decoded data wherever dyn.a UTI types are seen, to give better idea of content • Fix making selected result unique in Alfred's default results if input is configured to be "no space" • Alfred was immediately disassociating the unique result due to incorrect logic • Fix Music feature description text in Catalina to correctly say Music.app instead of iTunes • Fix Dark / Light mode appearance of descriptive text in macOS Rebuild Metadata sheet • Make the snip keyword's subtext more succinct for Copy or Paste text, showing more of the snippet content • Fully resolve [local] symlinks and aliases when using Quick Look, to see the file contents instead of the file icon • Fix twitter web search icon colour • File Buffer Improvements • Show "x+ items" to top left of Buffer when the number of visible items exceeds the available visible space • Correctly re-draw the buffer when additional items are added and removed beyond the visible window width • Add a - button to delete selected custom web searches in the Web Search preferences • Show version number for Application bundles in preview panels (e.g. file system navigation, action panel) • Improve VoiceOver accessibility for hotkey fields, now correctly reads newly inputted hotkey
  18. 1 point

    4.1 broke contacts card search

    Thanks for quick fix. It works well now.
  19. 1 point
    I suspect it’s because Alfred already has a persistent connection to the shared NSWorkspace, whereas your command/script needs to establish a new one every time it's run. I don’t understand much about the way the whole macOS application runtime works, but when scripting applications, establishing the initial connection typically takes quite a long time, and the subsequent commands execute very quickly in comparison. Perhaps @Andrew could explain it better/correct me if I'm wrong.
  20. 1 point

    Alfred 4.1 Is Now in Pre-Release

    Change the dropdown at the bottom to "pre-releases".
  21. 1 point
    Yup, thanks. Here's a script to sync your macOS text shortcuts to Alfred snippets.
  22. 1 point
    That's not the reason. It's not possible to build a snippet expansion app for iOS due to the way the system works. It might be possible. Do you know where the system snippets are stored?
  23. 1 point

    Alfred workflow for The Archive

    Download the latest release here: https://github.com/pryley/alfred-the-archive/releases This workflow was inspired by Alfred Markdown Notes. There is no documentation at the moment, but it should be fairly self-explanatory once you have installed the workflow in Alfred. As you can see, each of the available actions are on the same column in the screenshot above. For example, type ar to search your notes, arrandom to open a random note, arnew to create a new note from a template (templates are existing notes that are tagged as such), search all TODOs in notes and toggle them on/off, search for all existing tags, etc. I have included empty Hotkeys for each of the actions so you can set these yourself if desired. Here is an example note template: --- Title: {title} Date: {date} ID: {zettel_id} Keywords: {tags} #template --- {content} The {content} tag is where the clipboard content goes if you have selected to paste the clipboard into the new note. There are a few options that you can set, use the arconfig keyword to change them. Holding down shift will open the Help file in Quickview for each option. You won't need to set the path to your notes as the workflow automatically gets the path saved in The Archive preferences. The workflow uses OneUpdater for updates, so you will need to install that workflow to make use of it.
  24. 1 point

    Would this be possible?

    That's going to be tricky to do because to select text, you'd have to simulate keyboard shortcuts, and you'd therefore need to know how long the text you're inserting is in order to simulate the right number of keypresses. Essentially, you're going to have to code that up yourself in AppleScript or JXA.
  25. 1 point

    Snippets and input cursor

    @chris If you create a workflow, you can configure a Hotkey Trigger to take the currently selected text in macOS, then you can connect this into a "Copy to Clipboard" object set to automatically paste. Put your snippet content in that second object, and use {query} for the scooped in selected text.
  26. 1 point

    Note Taker — Keep small bits of text

    Only issue is when I select cmd+enter, it gets copied but I don't see it being deleted till I retype nview. Other than that it looks good.
  27. 1 point

    alfred-cheat: manage your own cheat sheets

    Hey @Wayne Yao With great pleasure. Note that I took some liberty in some parts (the README file, comments in the code, etc.), because I thought you did no longer work on the workflow. Of course you are absolutely free to reverse these changes! I am just happy to contribute to your workflow (that I like very much!)
  28. 1 point
    @odapg Hey man . I'm not monitoring this site .... but somehow it pushes your update to my mailbox but not the suggestion.. Thanks for the great improvement! I'll check it out later. Would you mind make a PR to me? so that I can integrate to the original code base. And of course kudos will be yours. Thanks, Wayne
  29. 1 point

    alfred-cheat: manage your own cheat sheets

    Well, I could not reach Wayne Yao, so I decided to modify this workflow myself 🙂 So here is a new version of Alfred-Cheat! You can download it and find detailed explanations on github. What's new: Main new feature : a Quicklook view. Just hit ⇧ or ⌘Y after opening a cheatsheet, and a page as shown below appears. Small improvements : Open your cheatsheet in your text editor by hitting ⌘↵ Slight syntax changes for cheatsheets (to put sections for the Quicklook view or hidden lines) Open the large type view by hitting ⌘L I changed wx-Yao's cheat keyword into cht because I find it quicker. But it is easy to reverse this change. Comments, suggestions or bugs reports are most welcome!
  30. 1 point

    First party sync service

    That's good to hear. It would be a huge win if iCloud Drive improved to the point that it works well enough to sync Alfred's preferences. Especially as Dropbox has been going downhill for some time now.
  31. 1 point
    Oh, no. Too much work, tbh. The majority of the effort in building a workflow is making it user-friendly and flexible. If anyone's interested, the script that does the hard bit is here, and they can build their own workflow around it. And thanks for the beer! I'm drinking it now 🍻
  32. 1 point
    In case the Workflow stops working for you today, no need to open a bug report. The problem is on Pinboard’s API side. As soon as that’s fixed, the Workflow should start working again.
  33. 1 point
    I used the Accessibility Inspector to see what iStats widgets are called. If you paste this AppleScript into Script Editor and run it, it will show you the name of every iStats widget: set _names to "" tell application "System Events" tell process "iStat Menus Status" repeat with _bar in every menu bar repeat with _item in _bar's every menu bar item log (name of _item) as text if _names = "" then set _names to (name of _item) as text else set _names to _names & "\n" & (name of _item) as text end if end repeat end repeat end tell display dialog _names end tell You’ll have to change the regular expression to match the title, with some items being easier than others. If you can’t figure some out, post the titles shown, and I’ll try to help. For time, you might need something like \d\d:\d\d, for example.
  34. 1 point
    Thank you so much! This is amazing! I don't know the magic behind much of this, but it works perfectly! Just bought you a beer via PayPal! 🍻 I've gone ahead and replaced /CPU/ with /Memory/ and /Battery/ for the other menu bar items and those work great, but still can't figure out what iStat calls their menu bar items for 'Sensors' and 'Time'. Wonder how I could do that? Alternatively, can the line let matchiStatsItem = props => { return props.name.match(/dateandtime/) } be modified so that it's a "fuzzy match"?
  35. 1 point
    Here’s an alternative JXA script that does work with iStat Menus. Put it in a Run Script action with Language = "/usr/bin/osascript (JS)" You may need to change the matchiStatsItem function at the top, depending on which iStats menu extra you want to click on. /* Click iStat Menus menu bar extra ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Moves mouse cursor to menu bar extra, clicks, then moves mouse back to its previous position. This is a workaround because iStat Menus doesn't respond to AppleScript's simulated clicks. Change the matchiStatsItem function to match the properties of the menu bar extra you want to click on. */ ObjC.import('CoreGraphics') // Function that matches the menu item we're looking for let matchiStatsItem = props => { return props.name.match(/CPU/) } function mouseEvent(type, x, y) { let ev = $.CGEventCreateMouseEvent(null, type, {x:x, y:y}, $.kCGMouseButtonLeft) $.CGEventPost($.kCGHIDEventTap, ev) } function click(x, y) { mouseEvent($.kCGEventLeftMouseDown, x, y) mouseEvent($.kCGEventLeftMouseUp, x, y) } function move(x, y) { mouseEvent($.kCGEventMouseMoved, x, y) } function getMenuProperties(match) { let se = Application('System Events') let istat = se.processes.whose({name: 'iStat Menus Status'})[0] for (let i = 0; i < istat.menuBars.length; i++) { let menubar = istat.menuBars[i] for (let j = 0; j < menubar.menuBarItems.length; j++) { let item = menubar.menuBarItems[j] let props = item.properties() console.log(`item=${props.name}`) if (match(props)) { return props } } } } function showError(title, message) { let app = Application.currentApplication() app.includeStandardAdditions = true app.displayDialog(message, { buttons: ['OK'], defaultButton: 'OK', withTitle: title, withIcon: 'stop', givingUpAfter: 2, }) } function run(argv) { // get current mouse position, so we can restore it later const currentPos = $.CGEventGetLocation($.CGEventCreate(null)) let props = getMenuProperties(matchiStatsItem) if (!props) { showError('iStat Menu Clicker', 'No matching iStat Menu item') throw 'menu item not found' } let pos = props.position click(pos[0]+5, pos[1]+5) move(currentPos.x, currentPos.y) }
  36. 1 point

    Problems with macOS 10.14/Mojave

    Agree. There's no need to ask me about unpinning my posts: I trust your judgement entirely.
  37. 1 point

    Embedding snippets for reference

    @Palma511 The {snippet:} placeholder is coming in 4.1
  38. 1 point
    Working like a charm so far, and I appreciate the customization. You're a boss, @vitor!
  39. 1 point
    I don't know if you're still active on this forum, but if so, I've just released a workflow that can quickly turn off/on Night Shift:
  40. 1 point


    NightShift Quickly turn on/off Night Shift or set it to a custom value between 0 - 100. Installation To download, visit the latest release at GitHub. All further updates are handled automatically. Description Quickly turn on/off Night Shift or set it to a value between 0-100. No more fiddling with deep settings when you either want to save your eyes or need to work with accurate colors! In Alfred, type night followed by either off, on or a number between 0 - 100. Credits The workflow makes use of the following: nshift by leberwurstsaft as the backend for setting the values. OneUpdater by vitorgalvao for handling automatic updates.
  41. 1 point
    Whenever you have this question, the answer is, “When Mozilla adds AppleScript support to Firefox.” The reason so few workflows support Firefox is because Mozilla makes it extremely difficult to do so. You need to go tell them to fix Firefox at the link below if you ever want that to change. https://bugzilla.mozilla.org/show_bug.cgi?id=125419
  42. 1 point
    Update. Update video download to new DownMedia. 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.
  43. 1 point
    Call nf followed by a file name (if you don’t give it an extension, it’ll be .txt) to make a new file. If you type nfo instead the files will open after creation. If you have a Finder or Path Finder window as your frontmost window, the file will be created there, otherwise it will be created on your Desktop. Download | Source
  44. 1 point
    The update is now live: http://www.packal.org/workflow/copy-phonetic-spelling-ipa Should look like this: screenshot Remember to replace the ID and key. Please tell me if it works for you.
  45. 1 point
    No reason this couldn’t work as both a file action and a hotkey. The cleanest solution would be to add a new node, similar to a Browse in Alfred Action that adds to the buffer. That way we could make more complex selections, like have a Workflow that does something with some files and sends others to the buffer. It could even have an extra checkbox to Browse in Alfred after adding to Buffer — it it’s off, it just adds to the buffer, if you check it, it opens in the File Actions pane so you can immediately act on them.
  46. 1 point
    Bruno Scheele

    First party sync service

    Looks like macOS Catalina allows this functionality without having to resort to Dropbox. You can now 'Pin' files and folders in iCloud, which presumably keeps them local, regardless of your Mac optimisation. Just have to mention that the "expert" answers in this thread are probably on the mark, but felt hostile and like gatekeeping. Throwing that critique out there, do with it what you will.
  47. 1 point
    Recently I've added some new features to the workflow: App icons for all apps and their shortcuts. Search among all shortcuts without selecting an app first (use cheatsheetg keyword for that). Hide or show only specific apps in the search results. To customize that type cheatsheet keyword, select Customize your cheatsheet, then list needed apps in settings.json (sorry for not implementing a GUI for that). Check also README.md for the settings format.
  48. 1 point
    These are outdated and don't work properly: https://github.com/jason0x43/jc-nest https://github.com/NateJacobs/nest-alfred2-workflow Thank you.
  49. 1 point
    See also https://github.com/jdberry/tag But the really great idea is setting the file action (not file filter, correct?) to toggle, not just add. FWIW I use Finder for almost all my tagging -- using a keyboard shortcut as Dean suggests -- auto-completion is super fast.
  50. 1 point
    Colors v2.0.0 Get it from Packal (Recommended) Quick Summary: This workflow can process and convert all CSS color formats and several Objective-C formats, namely NSColor (calibrated and device) and UIColor. It also provides an interface to the OS X color panel for easier color manipulations. It's written in native code (i.e. it's really fast). Quick Preview: You can find a full description on Packal. Direct download • source code on Github
  • Create New...