Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/25/2024 in Posts

  1. Updated to 2024.6. Add chat history feature.Add option to archive images.Add Fallback Search.Add option to start new chat to Universal Action and Fallback Search.Do not close window on relevant steps.Support Organisation ID.Add model override for ChatGPT.
    4 points
  2. Background Many times a day I open my ~/Downloads folder in various sizes and shapes of window. However, I have a preferred size and shape for that Finder window and, with a very simple Alfred workflow, it's easy not only to cater for that but also to add some useful options. The skeletal workflow The explanation 1, 2 & 3 are all you need for the basic workflow. The remainder are the icing on the…workflow. I use a Keyword Input because I find it difficult to recall all the hotkeys used in my various apps. Of course, you could use a Hotkey Trigger if you wish. This is a simple Open File Action containing the path to the folder you wish to open. We use an Automation Task to set the bounds of the Finder window exactly was we want them. This is where we are Using Alternative Actions so that ⌥⏎ will take us along the new path in the workflow. Note, in the same Action, we also tell Alfred not to close Alfred's window in order to prevent flickering. (To access the Alternative Actions simply double click the round marker along the connecting line after an input object.) An Automation Task passes the contents of the folder (choosing, in my case, to sort by most recently added) to… Alfred's Grid View—where we can see the contents of the folder displayed in a grid (set to "Keep the results in order defined”). In that view we can search for any item, use ⌘O ("O” for "open”) to open any selected item in its default app or just press ⏎ to move on to action the item in Alfred. Again we keep open Alfred's window (as in 4 above). The Action in Alfred action provides access to Alfred's Universal Actions appropriate to the selected item (allowing you, for example, to delete or move the item, open it in Finder, etc.). In conclusion Sorry for the long-winded explanation of a very simple workflow. Once you have it up and running you may, like me, use it many times a day and everything very soon becomes second nature. Incidentally, there's a splendid workflow from Vitor on the Alfred Gallery called Thumbnail Navigation which allows you to navigate the file system with previews…so you may never need anything similar to what I've described here. But you don't learn as much using other's workflows as you do when writing your own, do you? 😉 Stephen
    3 points
  3. Usage Search for executables in PATH via the whereis keyword. ↩ Copy original path.⌥↩ Copy resolved path if original is a symbolic link. ⤓ Install on the Alfred Gallery | Source
    3 points
  4. <Drowning noises off> I, too, moved from TextExpander the moment it went subscription. But, really, I'd be hard put to abandon Typinator: I have so much in it, including "mini-programs" that Do Things™️. While my brain is certainly small enough to fit in a Snippet 😁 I have reason to suppose you might be well qualified to prepare some sort of presentation on Snippets. 😉 Stephen
    3 points
  5. Here’s a related neat trick. One problem is that sometimes a menu item changes its name depending on something else in the app. For example: in Messages you can see Edit → Tapback Last Message… by default, but if you select a message it changes to Edit → Tapback Message… You can use that difference to your advantage in the workflow to e.g. only make something happen when the right option is available, but sometimes you want activate the menu item regardless of this detail. In this case what you can do is add both as separate Automation Tasks. Because an Automation Task error stops the flow of execution, this means only the active option will get through. You can see this exact example in action in the Tapback Message workflow.
    3 points
  6. It will be something like this: Except that instead of theURL Sepulchra will have used link. For the second Sepulchra will have used title. That creates respectively the variables that are recalled in the final copy to clipboard action. In both cases {query} means the information provided by the immediately preceding action in the workflow. Stephen
    2 points
  7. I've just published our first two videos about Alfred on YouTube You can find our videos at https://www.youtube.com/@alfredapptv Making the time to create more videos about Alfred is exciting, and we'd love your help getting the word out. Share, give it a like, all that good stuff! Thanks for being the best community on the internet! You can see the ChatGPT / DALL-E workflow in action here: And another on using and setting your fallback searches:
    2 points
  8. Kiki AI-Powered Chat & Text Tools For Chat GPT and OpenRouter's Models A short video showcasing some features. REQUIREMENTS: OpenAI or OpenRouter API Token Jq: Can be installed from Homebrew This workflow is specifically designed with the following features in mind: Quick chats initiated from Alfred’s command bar: These chats start in the command bar of Alfred and continue as AppleScript dialogs. Create and use presets for selected text or user input: Customize prompts, system role, temperature, and other settings per preset. This feature can help with grammar correction, translations, rephrasing, tone adjustment, smart text transformations, idea generation, and much more. Chat initiation options with the use of modifiers from Alfred’s command bar: These options include selecting an alternative model, an alternative system role or "persona," pasting results in the frontmost window, and preserving or resetting existing context. Easy continuation of previous conversations: Seamlessly continue previous conversations by using Alfred Universal actions on existing context files. Trigger presets on text using hotkeys, snippets, or external triggers: Activate presets on text using hotkeys, snippets, or external triggers for faster results, without needing to use Alfred's command bar. Markdown Chat: Enjoy the convenience of making AI requests directly in your preferred markdown text editor. Customize the chat settings through presets included on the header of your notes according to your preferences. SCREENSHOTS A few things I must mention: I have written an extensive documentation over at Github. I may have gone a bit overboard, but this workflow can be as simple or as complicated as users want it to be. My coding skills are very basic, so most of the code used to create this workflow came out of Kiki itself. There are some workflows that are very powerful in using all that OpenAI's API has to offer, but Kiki doesn't try to do everything. This is a tool that shines as a utility for everyday text-related tasks. Because of that, I currently do not have plans to integrate it with image generation, vision, etc. Instead, I welcome any ideas on how to make this better at what it does. I have tried to work around limitations, and I've tried to make this workflow as customizable as possible, but I know it could probably be better. If you encounter any bugs that you can reproduce please feel free to comment or let me know. Honestly, I'm a total beginner at this, but will be happy to help if I can. Lastly, I hope I am not asking too much by requiring users to install Jq. I know that Alfred workflows that make it to the gallery do not have to deal with this, but it seems gallery submissions are closed for the time being. I also know that not every user wants to deal with the creation of presets using JSON files, do you have any idea on how to improve this? It's my first workflow submission to this forum. I'm not sure of what I'm doing here (or on Github), but I hope you give this a try and hopefully find it useful. GITHUB | DOWNLOAD
    2 points
  9. @naukc You need to install the Automation Tasks. @3point ChatGPT (and any other LLM) doesn’t “know” anything, it strings text together. Check OpenAI’s own models page; GPT-4’s cut-off date is April 2023 while GPT-3’s cut-off date is September 2021. So the answer you were given is contradictory, it can’t both have a cut-off date of April 2023 and be GPT-3. In other words, you are using GPT-4. Asking it what model it is is particularly unreliable, I’ve been reproducing that wrong answer for quite a while.
    2 points
  10. zeitlings

    Calendar++

    Hey, I am working on the next evolution of the workflow. The major changes involve the addition of an agenda, the possibility to create new events using natural language, improvements of the week view and an overall redesign. For now, the search function stays true to what it was, except that it is handled internally. I'm announcing this, because I'm looking for some of you to beta test the workflow as I'm somewhat pushing the limits of what can be achieved with Alfred's plain text result items, and would appreciate knowing that it works well on different machines with different configurations. For the potential beta tester: I am using the same tricks to right-align the icons that I use to create the tidy block calendar, and would like to know if the layout of the results (e.g. a listed calendar event) succeeds with your custom theme and configuration. One of the key challenges is to present all the relevant information clearly, given Alfred's limitations in displaying data, without making the view feel cluttered and distracting. I'd like to get your feedback on how well this works, and your suggestions on how to possibly improve the views. Especially the agenda. I'd also like you to test the new features and let me know if they (a) work for you as expected, (b) are intuitive for you or not, (c) are buggy in any way or broken due to your locale. Permissions authentication has changed recently, and I am wondering if you are having problems granting access to your calendars, and if so, how you may have resolved them. Note that the workflow requires Apple's SF Symbols to be installed for the icons to show. Please let me know if you're interested! Here are some previews: (Creating an event, you can adjust the day using > and <, as well as the time using + and -)
    2 points
  11. I made Kiki, a workflow that works not only with Open AI but also with OpenRouter models (which includes Claude). I have actually already incorporated access to Anthropic's API but haven't gotten around uploading this latest version (I need to update the documentation since I also incorporated Whisper). The update should be up sometime this coming week. It's not as pretty as Alfred's new Chat GPT workflow (still haven't figured out how to use incorporate the new text view or if I should incorporate it at all) but it's super versatile.
    2 points
  12. zeitlings

    Color Picker

    v1.2.0 implements the new grid view for the color history
    2 points
  13. @sepulchra thanks for the ideas…but I think we need to come to some sort of arrangement. You see, I'm a little ashamed to admit that I don't use Snippets (I've used Typinator for years) so I think you should do the ones involving Snippets. 😀 However, I shall adopt Vitor's suggestion for a deconstruction of some of my non-code workflows—and, in doing that, cater for some of the ideas you mentioned. I'll just cover a little more basic stuff first and then, when we have all the building blocks in place, start with some of my basic workflows. Please feel free to continue to comment (your comments are always valuable) and to contribute anything along the same lines! Stephen
    2 points
  14. 2 points
  15. Don't worry about it, I’ve only been seeing positive reception! Keep ’em coming! That is so so much the right attitude. Thumbs up. Any of your workflows which is done without code seems like a perfect candidate for a deconstruction. And here’re a neat trick. A URL for all of your Simple Ideas posts: https://www.alfredforum.com/search/?&q="Simple ideas%3A"&author=Stephen_C&search_and_or=and&search_in=titles&sortby=relevancy
    2 points
  16. Thank you. That is correct. Make a new workflow with a Keyword Input and connect it to an Arg and Vars Utility with your custom text plus {query} for the new input from the Keyword. Then connected it to a Call External Trigger Output set to open continue_chat from this workflow.
    2 points
  17. I'm sure I'm preaching to the converted but there are some really easy, useful things you can do with Automation Tasks in a workflow. I'll give you an example. I have frequently to battle with a reasonably deeply nested menu in Day One in which I can turn off, or on again, smart quotation marks. (Tip: don't have a workflow called Save 'ur… something!). Finally, this morning, realisation slowly dawned. Keyword: dss, linked to: Now why didn't I think of that before? If you suffer from deeply nested, often used, menu items…well, there's a possible solution! Stephen
    2 points
  18. That request has been made more than once, so I’ll consider it. But no promises yet or ETA. @LaterTater There’s nothing wrong with that behaviour, it’s working exactly as expected. To copy to the clipboard you have to ⌘↩, as explained in the instructions.
    2 points
  19. This workflow has been using blueutil since it was created in 2017 (7 years ago). blueutil does not have an option to show battery status, but if they add it I can add it to the workflow too. The alternative is rewriting the whole workflow from scratch. Which I’m not against and have considered it before but zero promises.
    2 points
  20. After updating to Alfred 5.5.2257 (Sonoma 14.4) I am unable to remove workflows when my syncing directory is set to an iCloud folder. Steps to reproduce: Set sync folder to iCloud Add workflow from gallery Remove workflow (it will disappear from UI) Close and reopen Alfred preferences Notice the workflow reappears Workaround: Set sync folder to local disk Remove workflow Remove alfredpreferences file from iCloud Set sync folder back to iCloud I know iCloud syncing is not recommended, feel free to close this as wontfix. I just wanted to report it in case other people were debugging the same issue.
    1 point
  21. Use a shebang in your script and make it executable. That box is essentially the same as the External Script option in Run Scripts and Script Filters.
    1 point
  22. Well, i say you keep going and maybe the powers that be might have a simple sub heading for it!
    1 point
  23. @sepulchra thanks for the kind comment. I'm currently doing a couple more (on List Filters but also covering basic variables in the process). I'm slightly conscious of the fact that some of these are getting rather long (particularly with all the screenshots) and don't want to "bomb" the forum! I'm unsure what the Powers That Be think of all of this 😁 but currently I'm prefacing the title of each with "Simple ideas:"—with the aim of making them easy to find should anyone wish to do so. Stephen
    1 point
  24. @iandol yes, not sure what has changed but other pythons can now take precedence over the system Python. You just need to add `/usr/bin/` before `python3` in the script filter (see also this issue). I will update this and other workflows with the same issue.
    1 point
  25. Usage Search all your shortcuts via the sc keyword or search by folder name with scd. ↩: Run the shortcut.⌘↩: Run the shortcut with an argument.⌥↩: Open the shortcut for editing. Use the Universal Action to run the shortcut on files or as another way to provide an argument. The list of shortcuts is cached for faster results. An immediate cache rebuild can be forced with ⌘⌥⌃↩. ⤓ Install on the Alfred Gallery | Source
    1 point
  26. Hey everyone! I've created a workflow that allows you to search and create notes for Bear. This is my first workflow, first OSS project, and first foray into Python - let me know what all I messed up Available on github and Packal. Many thanks to @deanishe and @dfay for some initial direction. Install To install, download a released alfred-bear workflow and double-click to open in Alfred 3. Easy-peasy. Searching and opening results bs -- Search for a note by title and open it in Bear. bst -- Search for a tag (a group of notes) by tag title and open it in Bear. Creating a new note bn I love notes! -- Creates a new note with the title and text "I love notes!" bn I love notes! #love #notes -- Creates a new note with the title and text "I love notes!" and the tags "#love" and "#notes" Known Issues Creating tags only works with single-word tags - multiword tags hopefully to come. Todo Append text to existing notes. Figure out multi-word tags. Thanks deanishe for guidance on Alfred workflow creation and capabilities, and for his excellent Python workflow library. dfay for guidance from his experience writing the Ulysses Alfred workflow. Rhyd Lewis for giving me an excellent example to work off of in his Omnifocus Alfred workflow. Versions 0.3.1 Fixed database location that changed with a Bear update. 0.3.0 Added search results from note text to main search. 0.2.2 Changed search queries to order by last modified date descending, so that more recently modified notes/tags show up at the top. 0.2.1 Added hashtag symbol to "Open Tag" list results to make it a little more obvious that it's a tag and not a note. 0.2.0 Now allows non-ASCII characters. Searching by tag now displays not only tags that match the search query, but notes that match those tags as well. Searching by tag now works with or without the '#' symbol in front of the tag. 0.1.0 Initial public release.
    1 point
  27. It would be nice if it were possible to give the timer a name and when it finished the warning would appear in large text on the screen.
    1 point
  28. Philips Hue Controller for Alfred Quickly and easily control Philips Hue lights with Alfred. Installation Download the workflow The first time you run the workflow it will ask you to press the button on top of the Hue bridge then action the item to authorize the workflow to control your Hue lights. The workflow automatically attempts to find the bridge on your local network. You can also manually specify the bridge's IP address. For example, if your bridge's IP is 192.168.1.126: hue 192.168.1.126 Read more about features at the project's Github page.
    1 point
  29. Welcome to the forum. Have you seen Alfred 5.5's TextView and, by way of example, the manner in which it's used in the ChatGPT/DALL-E workflow? Stephen
    1 point
  30. @pseudometa Excellent spot! I'll get this fixed in the next build. Thanks, Andrew
    1 point
  31. Yeah, copying the Markdown is a nice touch... I guess I meant auto-saving it somewhere. I use it so frequently and often want to refer back to a specific conversation at a later date. It's awesome that you're already thinking about this, and it would be very cool to reopen/continue a previous conversation. Thanks for your effort!
    1 point
  32. You can already copy the Markdown with ⌃↩. I have ideas for chat history, but it’s unlikely to work exactly as per your description as I want to offer more flexibility than locking a conversation in time.
    1 point
  33. Welcome @frequser, You have to start typing to see files. Type * to see them all.
    1 point
  34. The text view uses a native macOS Scroller for the text view, so you won't get the themed scroller like in Alfred's default results. You're seeing it like this because you likely have your macOS setting to "Show Scroll Bars: Always". If you set this to the default of "When Scrolling", you won't get the background drawn behind the scroller. Having said that, there are a few things you can do to make this look a little better if you want to keep the macOS "Always" setting enabled. 1. Assuming macOS is in dark mode, Switch Alfred's dark mode rendering to native in the Appearance > Options > Use Native Dark Mode window rendering... This should make the background darker and fit with your theme better. 2. Update the theme to use a Visual Effects View background. You'll lose the pink border, but this uses a more modern window content view, and the scrollers are rendered differently. Let me know how you get on Cheers, Andrew
    1 point
  35. I use the web searches a lot and sometimes there are variations of things so I create multiple of similar entries. I find myself doing this every so often and it's a bit tedious to manually copy and paste the icon and all the other fields. Maybe we could get a "Right Click + Duplicate"? That'd be great.
    1 point
  36. Hi Vero, It would be helpful if we can get an easier option to duplicate an existing web search. So that we don't need to start from scratch to setup a new web search like the logo and all. Thank you.
    1 point
  37. Actually, you can use Ollama (https://github.com/ollama/ollama) to serve locally any available open source models (including gemma from Google, llama2 from Meta, or Mistral from the French startup, but many others ...). Ollama is compatible with OpenAI API so I just hacked a bit the current workflow by changing `chatgpt_api_enpoint` to `http://localhost:11434` + changing model name and label in `userconfigurationconfig` And to my great surprise it works ... Of course, I believe your mac should be robust enough. Forget to mention I have a M3 Max with 48 Go of RAM. But I'm pretty sure it's reasonably work on a M1 with 8 Mo of RAM. On my M3 answer is very fast. It would be good to have an update of the workflow that would add the option (+ howto) to use Ollama... _oho.
    1 point
  38. Updated to 2024.1. Skip Input as Universal Action.Remove colons in keyboard shortcuts.Edit shortcut with Automation Task.Add Hotkey.Use JSON caching.Split between shortcuts which take input or not.Convert scd to JXA.Shorter Objective-C functions.Fix typo.
    1 point
  39. Since this is a Feature Request channel and not a support channel, I'm going to lean into the Request aspect of the original post. I really like Web Searches. I make a lot of them. I even overload them to give myself variations on a search to choose from. For example, when I search for a place, I can either * Search my YouTrack board and have the results appear in a kanban, or * Search YouTrack issues and have the results appear as a task list. There's a lot that's the same: same keyword, same image, slight alteration of the URL, slight alteration of the Title. It would be great if I could duplicate all of that instead of having to manually recreate it. Possible solutions: Right click a Web Search row to Duplicate, or Duplicate Search button next to Add Custom Search. By the way, this would solve another problem, which is that novice users may find it difficult to build customer searches for lack of good examples. If a user could duplicate a built-in web search, they could see how they're built and modify them without breaking the original.
    1 point
  40. mcskrzypczak

    [2.2] Get App Icon

    Introduction Have you ever needed that specific app icon to use in your review? Get App Icon workflow comes to help! Open up Alfred, type 'icon' and app's name. If it one installed in your macOS, you should find it in the list. Press Enter and the icon will await on your Desktop. What if that's the app for iPhone or iPad (or just app from Mac App Store)? Just use the 'online' option to search and download. Download from Packal → link direct download → link Screenshots http://i.imgur.com/QLa4WD5m.pnghttp://i.imgur.com/8MUWUrkm.pnghttp://i.imgur.com/JhJJfhJm.pnghttp://i.imgur.com/Muq658Jm.pnghttp://i.imgur.com/Xbowu4gm.png How it works? To invoke Get App Icon workflow: use the icon keyword which will list all available in /Application folder apps; at top of results there is option to switch to online (App Store / Mac App Store) search that will search for typed app name; use File Action Extract app icon on chosen app on your Mac. The workflow behaves as follow: when used with local application it converts app’s icon in .icns format into .png using the biggest icon size (which is usually 1024 × 1024 or 512 × 512 px) and save it into Desktop folder; when used with online application it downloads its icon in .png format (please read Tips also for further information). Requirements installed Python version 3 installed Pillow library for Python 3 Changelist: 2.2: added workflow's description country code and limit are set as Environment Variables, so there is no need to edit files, just change them in Workflow Environment Variables window bug fixes 2.1: bug fixes 2.0: action rewritten to use Python3 1.5: initial public release
    1 point
  41. jeffbyrnes

    Get iTunes Artwork

    I’ve long enjoyed this workflow, but it needed a little love, and I ended up rewriting it in Ruby b/c I tend to prefer that over PHP. You can find a copy of it in at jeffbyrnes/alfred-itunes-artwork-search on GitHub. I‘ve tested all three flows, and they all appear to work well! It will work with the copy of Ruby that comes with macOS, and it works with my Homebrew-installed copy as well on macOS 12.5 (Monterey).
    1 point
  42. Hi there, I was wondering if the api the alfred remote app talks to is documented somewhere? I had an idea to build a homebride-alfred-remote plugin to allow homekit events activate Alfred short cuts. Ex. Clicking a physical button runs an alfred shortcut and so on.
    1 point
  43. Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity) Usage: enter the keyword "battery" Tested on: Mountain Lion, MacBook Pro Download: from here
    1 point
  44. When configuring a Run Script or Script Filter, Alfred provides a Language dropdown listing the runtimes which have historically been included with macOS. But what if you want to run a script from another language which you have installed on your system? Be it Node.js, Lua, or something else, it’s dead-simple to call them. Either: Save your script with a proper shebang (examples: #!/usr/bin/env node; #!/usr/bin/env lua) and use External Script as the Language, pointing to your script. Use /bin/zsh (or /bin/bash) as the Language and tell the runtime to call your script (examples: node MY_SCRIPT.js; lua MY_SCRIPT.lua). The first executes (marginally) faster but the second allows you to send preset arguments to your script. They work as they are assuming the languages were installed with Homebrew, as Alfred includes its directories in its PATH.
    1 point
  45. suniltaneja

    Get My IP

    Simple wokflow to retrieve your IP address. https://github.com/suniltaneja/AlfredExtensions/blob/main/getMyIp/MyIP.alfredworkflow?raw=true
    1 point
  46. Hi @Vinay W - consider adding a "Keyword" trigger and support for Brave Private Window with Tor (if this is possible)
    1 point
  47. As I said, it's a workaround since it does not copy everything but misses the icon. A clean solution would be a proper implementation without a workaround. I understand that it's probably not the highest on the list of development requests. I'm just saying I would prefer a clean interface integration that others can use easily without searching or wasting time researching (or doing it manually).
    1 point
  48. Thanks @deanishe, a workaround, but not a solution. I would say that having a right click duplicate would really be a better option.
    1 point
×
×
  • Create New...