Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 04/20/2018 in all areas

  1. 6 points
    Hi, I've created a workflow to find and open Apple/iCloud notes in Notes.app. Just type n[part of note title] and press enter. The default search method is known to work on High Sierra and Mojave, but AppleScript options are also supplied that should work on other macOS versions. Get it on Packal and feel free to open issues/make pull requests on GitHub.
  2. 6 points
    Carlos-Sz

    Evernote Workflow 9 beta 3

    Evernote workflow 9 beta 3 released with minor code optimizations and updated workflow preferences. Download Now If your search (ens keyword) is not returning any results please make sure to trigger a full index rebuild in Evernote app: Option-Key Help > Troubleshooting > Recreate
  3. 6 points
    deanishe

    EggTimer v2 [updated to 2.0 final]

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

    Recent Documents / Apps ?

    This workflow can list documents and apps opened recently. Especially, it can list files opened recently by the foremost app. System: macOS 10.11+ Github: https://github.com/mpco/Alfred3-workflow-recent-documents Usage You can press Enter to open the file in result, or press ⌘CMD-Enter to reveal it in Finder. Tap rr to list files opened recently by the foremost app. For example: Recent folders will be listed when Finder is foremost. Recent rtf, text files will be listed when TextEdit app is foremost. Recent *.sketch files will be listed when Sketch app is foremost. Recent *.xcodeproj project files will be listed when Xcode app is foremost. The subtitle of each result consists of ⏱modified time and ?path of the file. Tap rf to list recent folders. Opening recent folders is very common in use. Tapping rf is a more efficient way, even though you can activate Finder and then tap rr. Tap rd to list recent files. These files were recently opened by user, not like rr which is just for the foremost app. Tap ra to list apps opened recently. Exclude folders from the results. You can add private folder pathes separated by colon : to the Workflow Environment Variable ExcludedFolders. The results will not show private folders and any files inside them. For example: ~/privateFolder1/:/Users/G/privateFolder2/
  5. 5 points
    Vero

    Moving this forum to Discourse

    Hi all, I've read this thread carefully and have been mulling it over this week. There are many reasons we're using IPBoard, and I figure it's only fair that I share our rationale for where we're at with the forum we've opted for. I'm also going to take this feedback and share it with IPB in the hope that they can understand the issues and the shortcomings of the editor, and make some essential improvements so that writing and editing posts is more straightforward. We moved from the cutesy-but-extremely-limited Get Satisfaction in 2013, which was a difficult process even at a time where the community was less than 1/20th what it is now; Content was lost, all the previously indexed links were no longer valid, users had to create new accounts, etc. Huge upheaval for everyone. Taking a look back, they've since been acquired by another company and their product has completely changed, so our hand would've been forced even if we hadn't left then. Moving to the established - if somewhat non-trendy - IPBoard meant we'd have a platform that had been around a long time and wasn't going to be sold to the highest bidder who'll acqui-hire the staff and gut the product for parts next month. Since 2013, it has proven to be reliably available, taking a minimal amount of time for me to keep updated behind the scenes. With the exception of a few colour scheme changes, it's a completely vanilla install, with no plugins, so that I can trust that I can do security updates quickly while most users are sleeping, without having to go through testing of every plugin, or causing unexpected downtime/issues. By keeping things as simple as possible, we can focus time on helping users, rather than troubleshooting issues with unsupported plugins, new releases, etc. as the forum is only one of the numerous aspects of running a software business Andrew and I have to juggle every day. We value your time too, as community members who volunteer their time to help fellow Alfred users, so I'll definitely have a more comprehensive chat with IPB to try to bring some of these improvements in. At this point, I can't promise anything, but I'll let you know what feedback I get from the IPBoard team. Cheers, Vero
  6. 4 points
    I added a workflow to go with this set of Themes, you can find it on the same Github repo in the Workflows folder It features two commands : "theme" : toggle between Dark & Light themes for both macOS & Alfred. "theme red" : switch to the Red Accented Alfred Theme. Here is a screenshot of the MojaveThemeSwitcher and its options:
  7. 4 points
    xilopaint

    Urban Dictionary

    I had to built a new Urban Dictionary workflow since my previous one was broken. It's available on GitHub.
  8. 4 points
    Bah! Bunch of weaklings, what you all are, with your fancy apps and your files in a cloud. What if it rains? Have you thought of that? True scotsmen don’t need backups, they memorise the binary representation of every file, and if they ever lose one they type it out. And that only if they’re in a hurry, because everyone knows the proper method is to forge the words on a metal plate inside a volcano, and read it back by holding it high to be struck by lighting.
  9. 4 points
    @Luciano Santana (and anyone else following along), there are a few commands (Create New Timer, Create New Alarm, and View Recent) that are still broken in Alfred 3. I have a branch that fixes them. (I also submitted a PR to Luciano's repo.)
  10. 3 points
    I have something in the works which I think will make you very happy with regards to this. That's all I'm saying for now
  11. 3 points
    deanishe

    First party sync service

    CloudKit may work just fine for applications that manage their own data using its APIs, but that isn't Alfred. A lot of the files being synced don't belong to Alfred: they belong to workflows. As a result, Alfred isn't in a position to manage (via revisions or whatever) the many sync conflicts iCloud's crapness causes because Alfred doesn't have sufficient information to do so. Alfred's current sync Just Works with any software that can reliably sync files/directories, be it Dropbox, rsync, Unison, Seafile or whatever. You're talking about completely rewriting Alfred's sync/file management in order to use a service that has a long history of losing data. Replacing a system that works wonderfully (if you're using reliable sync software). The new limitations to Dropbox's free accounts suck, but I'm not convinced that's a sound reason to ditch a working, platform-agnostic sync solution for one that's tied to a legendarily unreliable service.
  12. 3 points
    ZotHero Rapidly search your Zotero database and copy citations. https://github.com/deanishe/zothero Features Perform full-text search across your Zotero database, including only searching specific fields Copy citations using any CSL style you have installed in Zotero Copy citations either in citation/note style or bibliography style Copy citations in any locale supported by CSL Citations are copied in multiple formats, so the right data are automatically pasted into the application you're using Trigger search while you type using the Snippet Trigger (you must assign the snippet keyword yourself in Alfred Preferences) Download & installation Download the ZotHero-XYZ.alfredworkflow file from GitHub releases, and double-click the downloaded file to install. Basic usage These are the workflow's default keywords: zot <query> — Search your Zotero database (common fields). zot:[<query>] — Search a specific field. zotconf [<query>] — View and edit workflow configuration. See the README on GitHub for full instructions. Pasting citations When you copy a citation, ZotHero puts both HTML and rich text (RTF) representations on the pasteboard. That way, when you paste a citation into an application like Word, the formatted text will be pasted, but when you paste into a text/Markdown document, the HTML will be pasted. Licence & thanks The workflow is released under the MIT licence. The Zorro icon was created by Dan Lowenstein. Citations are generated by citeproc-js (AGPLv3). Workflow stuff is taken care of by Alfred-Workflow (also MIT licence).
  13. 3 points
    deanishe

    Alfred preferences fails to open

    My local kebab shop always puts up a notice when they're on holiday that says "back in two weeks".
  14. 3 points
    Andrew

    Icons are not showing properly

    Thanks to @szymon_k's information via email, it highlighted something I'd missed from the metadata output posted on the previous page. The kMDItemContentType for applications missing their icons was "com.apple.application-file" and not the correct "com.apple.application-bundle". The UTI defines that "com.apple.application-file" is for an Application file (traditionally older single-file carbon based apps), and not modern Application Bundles (multi file packages as you'd see for all modern applications). This is undoubtedly a bug hiding somewhere in Mojave, and something which seems to resolve itself over time. All is not lost though... I've just put 3.7.1 b944 pre-release which works around this Mojave bug, so the icons will be shown and the apps will be cached by Alfred! You can update to the latest pre-release in Alfred's Update preferences. Cheers, Andrew
  15. 3 points
    I wrote a workflow in ruby to convert currency. Requires Alfred v3. Notice: The Old versions(v1.2-) api has been out of service at June 5, 2018. Please update to v1.3+ to keep using currency conversion feature. Github Download Features: Support 30+ currency units with fixer.io. Basic support for sign. e.g.,$,¥,£,etc. Customizable displayed currency units and base unit. Input once to get all result. Usage: Tap 'cy' to get latest exchange rates. Tap 'cy money' to get exchanged result. You can press enter to send the result to the clipboard. Tap 'add-cy', 'remove-cy' to customize displayed currency units. Tap 'base-cy' to set base currency unit. Hope you like it.
  16. 3 points
    katie

    Reference Importer

    Thank you; I will try that! Just spent a good chunk of time doing this manually. Edit: And it works! I must have missed an update. This is literally the best day ever.
  17. 3 points
    deanishe

    Search email?

    Have you read the help page for Mojave? Particularly the bit about granting Alfred "Full Disk Access".
  18. 3 points
    pawelgrzybek

    Div — simple windows manager

    Ps. I am still working on support for multiple screens. It turns out it is harder than I thought to do it via AppleScript only.
  19. 3 points
    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.
  20. 3 points
    nikivi

    Moving this forum to Discourse

    I searched this forum and didn't find any thread on this but I wanted to propose it for a long time now. I very often use Discourse based forums like KM forum or Swift forum. And the experience in there is in many ways so much better than here. The interface is much cleaner, there is native markdown support, the search is better and more intuitive. I can't find anything this forum does better than Discourse can. I also have been reading this forum for a long time and lack of markdown in writing things is a very obvious paint point. There was a thread made 2 hours ago that mentions this very problem. I myself am quite annoyed too by the fact that I am forced to use an external tool like MarkdownTransform just so I can in some comfort markup my text in this forum and run it through the tool later. Also Discourse supports night theme which is a small cosmetic change but with Mojawe coming soon would be quite appreciated. It seems the big reason why this change can't be made is that you can't translate the content that is written on this forum to Discourse. Which if true, while sad, makes complete sense why we still use this forum software. But if that is not the case and there is a way to import all content into a new Discourse instance. I think this change would be really nice for the users.
  21. 3 points
    screencapture, which comes with macOS, is surprisingly capable (man screencapture) and can do it in a single command: screencapture -iP "$(mktemp).png" i is to capture interactively (i.e., the same as ⌘⇧4). P is to open the image in Preview after it’s done. "$(mktemp).png" is a temporary file to store the screenshot, which screencapture needs. Add that in a Run Script Action connect by a Hotkey Trigger, and you’re set. Here’s a ready-made Workflow.
  22. 3 points
    # fuzzylist Fuzzy, self-updating list filter workflow for Alfred 3 This is a workflow template - it does nothing as is. ## Usage: - create a csv file like you would for an Alfred List Filter - name the file *list.csv* and add it to the workflow directory On the initial run, the workflow will create a file list.json for output to the fuzzy search. If list.csv is modified, it will update list.json . ## Credits - uses fuzzy.py by @deanishe - https://github.com/deanishe/alfred-fuzzy ## Download workflow at https://github.com/derickfay/fuzzylist/blob/master/Fuzzy List Filter.alfredworkflow
  23. 2 points
    Carlos-Sz

    Evernote Workflow 9 beta 3

    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.
  24. 2 points
    Currently the UI options allow a max of 9 results, however, on larger displays it will be great to be able to show more than that.
  25. 2 points
    That isn't what Andrew meant. Try this: /usr/local/bin/shuf -n 1 ~/Downloads/One_Liner_Harvey.txt
  26. 2 points
    Hello everyone, Here is a full collection of themes to embrace macOS Mojave's new Dark and Light themes and their respective accent colors! Each one hase been carefully designed with a pinch of the accent color's hue in each element. I've chosen to respect the low contrast Yellow Accent color shipped by Apple in macOS, despite not being fond of it. It comes in Blue, Purple, Pink, Red, Orange, Yellow, Green & Gray, each with a Dark and Light variant. You can have the color you want, as long as it's not black! There is now a workflow made for this themes collection, which allows you to switch easily between Dark & Light mode, and select your Alfred theme's accent color. Here is a quick demo: TL;DR: How to Install ? You can find all the previews in High Res and link to each theme on Alfred's website on my repo: https://github.com/AlexMartinFR/mojave-alfred-accented-themes Enjoy
  27. 2 points
    idea4IT

    Pocket for Alfred

    Hi guys, this workflow lets you manage your Pocket list with Alfred. Features Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain Github: https://github.com/fniephaus/alfred-pocket Download: https://github.com/fniephaus/alfred-pocket/releases/latest/ Feel free to give some feedback! Cheers, Fabio
  28. 2 points
    shmulvad

    Roman Numeral Converter

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

    Basecamp Workflow

    Right-click on the workflow in Alfred Preferences and choose "Open in Terminal". If you did the above, Terminal should have opened a new window set to the workflow directory. Just enter bundle install --standalone and hit ↩.
  30. 2 points
    PowellPerson

    Upside Down Alfred

    Currently, if you place your Alfred window to appear at the very bottom of you Mac screen, the search bar will be sitting at the bottom, but the search results will shift the whole window up and down based on the results you get. It's jumpy and weird, shifting the search bar as you type. Because of this, you essentially can't put Alfred on the bottom of your screen. My feature suggestion is to have an option for the search results to appear above the search bar, so then you could place the bar at the bottom of your screen (photo attached), and have the search results neatly shift up and down, without the whole window jumping around. I think bottom center of my Mac screen would be a really cool place to put my Alfred window, and have the results expand up into the screen.
  31. 2 points
    Handy. You should probably change it to use the Workflow3 class, not Workflow. Workflow is for Alfred 2 and doesn't support Alfred 3's new features.
  32. 2 points
    mcdado

    Switch Theme whether Dark Mode is on

    It would be great if I could set two themes: one for normal mode, and one for dark mode. I have f.lux that changes mode at sunset, so the best would be if in Alfred's prefs I could set a theme for both settings, so that switching is automatic, it doesn't have to fiddle with a scripts.
  33. 2 points
    Download media from a plethora of sources, even when embedded in other pages. Copy a link to your clipboard, run dv, and you’re done. The workflow will show you a notification when it starts downloading and another when finished. If you have WatchList you’ll see an option to automatically add the downloaded video to your watchlist. Run any option with the ⌘ modifier, and the full playlist will be downloaded. To see the download progress, run dvp. It will auto-refresh the progress. Actioning it with the ⌘ modifier will restart the current download (adding it to the back of the queue), while actioning with ⌃ will abort the current download. You can also run :downvidservices to install (or later remove, running the same command) DownVid actions to macOS Services. What this means is wherever you find a URL, you’ll be able to right click it and start the download right from the context menu. The Workflow Environment Variables represent the directories where videos will download to, as well as the audio format to save when that option is picked. Download | Source If on Alfred 2, download this one. Works well with WatchList
  34. 2 points
    Hi guys, here's the cause of the bug. It's a known issue and the fix is trivial. They've just been sitting on it for six months.
  35. 2 points
    Hello, I don't use Alfred currently to manage my clipboard (I use the app Paste) for one single reason : In Paste, I can select multiple results (with the shift key) to paste all the results at the same time, which seems to be impossible in Alfred. Is there any solution to do that in Alfred, or is it planned in a future release ? This topic is about the clipboard, but I have exactly the same issue with Chrome bookmarks results in Alfred : I would like to be able to select more than one result to open the selection in several tabs (my workaround today is to create workflows, but it would be way more efficient to just be able to select multiple results for your search, like selecting multiple files in Finder). Anyway, thanks for this great app that I use everyday. Edit : Added a video
  36. 2 points
    I think @vitor has provided as good an answer as I could've done for the earlier question, so all I can contribute on this Friday afternoon is a cat picture Two of the four members of the Alfred team; Rose and Jack*, who are now rather bigger than they were then... They are very important team members, mostly ensuring team happiness and providing reminders to take dinner breaks on busy days [And no, their names are not from Titanic...] Cheers, Vero
  37. 2 points
    Welcome @Cullen, This objection doesn’t really make sense. As explained earlier in this thread, Alfred wants to be explicitly called by design. In that sense, complaining it “still” doesn’t do something it never proposed itself to is like complaining newer lightbulbs still can’t be used to scramble eggs. Alfred isn’t failing to do scheduled tasks; it’s not trying to. And it is. And it’s also easy to have a Workflow trigger at a specific time, by leveraging other tools or native macOS functionality, as explained above. We’d be more than happy to help you with that, if you have a specific question. There’s no reason to. Alfred’s team isn’t a major corporation trying to rip you off. Rather, it’s a lovely couple (and a cat) that cares deeply for their users and their satisfaction above all. Together with the tight and helpful community in this forum, we’ll do our best to get you sorted. But we will need you to be more specific about what you want to accomplish and where your difficulty lies.
  38. 2 points
    cama900

    macOS Mojave Theme (Dark mode) switcher

    Hey everybody, I've been testing out macOS Mojave + Dark mode the past few days and wanted to be able to toggle between the light theme and dark theme using alfred. So I made a simple workflow for it. It's probably not useful to most of you yet (as Mojave it's still on dev beta 1) but i'll be making sure it stays working as there are more updates Download Workflow View on Github
  39. 2 points
    You're right. @nikivi avoided that issue by making an extremely generous donation. Whole crates of beer! That and some good suggestions and a PR for improving the workflow. If I'm honest, the main reason I haven't released a proper v2 is that I hate developing this workflow. Because it rewrites its own info.plist, I have to delete and re-create a bunch of my own searches for each release, but most of all Alfred (or more precisely the FSEvents API) doesn't notice changes to symlinked files, so I have to re-link the workflow constantly and/or restart Alfred to get the changes to appear. More importantly, I'm wondering if the whole thing needs rewriting again. @nikivi wants to be able to have alternate search engines for modifier keys, so for example, ↩ does the search with Google, but ⌘↩ does the search with Google's I'm Feeling Lucky. I'm not a huge fan of that, but what I would like to do is separate suggestion sources from search URLs somewhat. That way you could use Google or DDG to provide suggestions for sites that have a search URL, but not an autosuggestion one. That would make the OpenSearch import a lot more useful (so far, I've found that only MediaWiki sites also provide the auto-suggestion API). I could automatically fall back to Google suggestions if the site doesn't have its own API (rather than failing), but I'm not sure how effective that would be. In either case, that's already possible by adding your own custom engine definitions in the data directory, but that's a sucky UX.
  40. 2 points
    Hey @Bhishan-- I decided to post this to the forum in case it helps someone else out. There were two main things I was doing wrong. First was running each variable on its own thread. For what I was doing, the proper thing to do was to have everything on one thread (and therefore running one after the other). The second issue I was having was with filters. You'll need to google to understand exactly why it happens (I don't understand it well enough to explain it), but I was having unwanted newlines & whitespace in the output. This meant filters weren't working as I expected (since the input to the filter had newlines etc I didn't know about). That was fixed by using some `Transform` and `Replace` utilities. I'll attach both of the workflows based around the original workflow. Hope these workflows help you figure it out -Scott Create a new note with or without selected text with Zettelkasten metadata Create a new note (with or without selected text) & PDF from Safari tab with Zettelkasten metadata Screenshots: New note: New note & PDF:
  41. 2 points
    Yesterday, Spotify has made major changes in their API related to Spotify URIs. The workflow was broken, and version 7.16 should fix the issues, see http://alfred-spotify-mini-player.com/blog/Version-7.16/ Please report any issues, see how
  42. 2 points
    Andrew

    Alfred 3.7 BETA for Mojave Beta 4+

    A few things changed in macOS Mojave Beta 4 which has meant a change in the way Alfred will be dealing with macOS Accessibility access and general permissions. In Alfred 3.6.2 and before, Alfred separated the permissions into a helper app called Alfred Text Service, but since Beta 4, it seems like macOS doesn't like two apps within the same package and same signature (Alfred 3 / Alfred Text Service) from sharing accessibility access - This is likely a bug in Mojave. Nevertheless, since Mojave now also requires accessibility permissions to simulate key events (Which Alfred uses quite considerably for clipboard integration, workflows, file actions), it makes sense to now consolidate Alfred Text Service into Alfred's core and make Alfred the only app which requires accessibility access. When you launch Alfred 3.7 for the first time, if you haven't already granted Alfred 3 accessibility access, you'll be shown this dialog: Select "Let's get started..." and tick Alfred 3 to have accessibility access. Alfred will then restart himself and automation / text expansion should work as expected Here is an early beta version of Alfred 3.7: [LINK REMOVED, Alfred 3.7 pre-release is now available from Alfred's update tab] NOTE: If things still aren't working as expected, quit Alfred then open the macOS Security & Privacy > Accessibility preferences. Remove both Alfred 3 and Alfred Text Service, then restart your Mac. Run Alfred and you should get this dialog above. Let me know how you get on! Cheers, Andrew
  43. 2 points
    Script Filter JSON Format documentation. Look for quicklookurl.
  44. 2 points
    alexchantastic

    Lorem Ipsum Workflow

    An Alfred 3 workflow for generating lorem ipsum dummy text using joshtronic/php-loremipsum. View on Github Installation Download the workflow Double click the .alfredworkflow file to install Usage Use the keyword lipsum to trigger the workflow Select format you want to generate (characters, words, sentences, or paragraphs) (Optional) Type in the number of the format you would like to generate (defaults to 1) Press enter to copy to clipboard and paste into the forefront application or just ⌘ + c to copy to clipboard Release Log v2.2.0 (latest) v2.1.0 v2.0.0 v1.0.0
  45. 2 points
    bojan

    One Dark

    Install
  46. 2 points
    Looking at the source code, I can see why these users are experiencing these issues. I downloaded the workflow and had a look at the AppleScript, which has quite a few issues with it. @rodrigobdz, I note from your original post that Assistive Access is required to run this workflow. Writing an AppleScript to achieve what you want here—namely opening a Chrome window/tab—shouldn't need to employ any accessibility features via System Events. Here's your code that I copied from the workflow: tell application "System Events" set myList to (name of every process) end tell if (myList contains "Google Chrome") is false then do shell script "open -a Google\\ Chrome --new --args -incognito" open location "https://google.com/search?q={query}" else tell application "Google Chrome" activate tell application "System Events" to keystroke "n" using {command down, shift down} open location "https://google.com/search?q={query}" end tell end if Google Chrome is scriptable, therefore you don't need to access System Events processes to determine whether or not Chrome is running. Scriptable applications have a property called running that returns true or false depending on whether or not Chrome is running. You can access it as with any other property, like so: set isOpen to the running of application "Google Chrome" if isOpen then ... But, for this particular property (and a couple of others that return boolean values for the state of an application, another one being the property frontmost), you can use this very natural-language syntax: if the application "Google Chrome" is running then ... Following this, the reason the users are reporting two windows opening up—one of which might even be Safari instead of Chrome—is because you have one command telling a shell script to open Chrome in incognito mode (bearing in mind that launching a web browser usually opens a blank window); and you have a second command telling AppleScript to open location and this will always happen in a new window (that makes two windows), and it won't necessarily be Chrome. I believe it uses the system's default browser, which explains why there's a user reporting that your workflow opened Safari and Chrome for him (it did with me as well). Basically, don't use open location when you want to target a specific web browser. You could have used the same shell command that launches Chrome to get it opening a desired URL in the first window: do shell script "open -a 'Google Chrome' 'https://imdb.com' --args -incognito" And, finally, for the last part of your script, you've once again elected to use System Events to issue a keypress that activates a shortcut to a menu item as a means to open an incognito window. That's a bad method. But, immediately afterwards, you use open location again, intending for the URL to open in the window you've just created. For some users, it might do just that; but for others, it won't. Basically, don't use open location, and don't use System Events for its accessibility hooks when you don't need to. It's always a method of last resort, because it's very unreliable, and poor coding practice. Do, however, use System Events for things like file and folder handling. Anyway, here's how you first check to see if an incognito window is already open, then open a URL in a new tab in the existing window instead of creating a new window altogether, or, if an incognito window doesn't yet exist, opening a new URL in a new incognito window: tell application "Google Chrome" set W to every window whose mode is "incognito" if W = {} then set W to {make new window with properties {mode:"incognito"}} set [W] to W tell W to set T to make new tab with properties {URL:"{query}"} close (every tab of every window whose URL is "chrome://newtab/") set index of W to 1 activate end tell In fact, on my system, that works regardless of whether or not Chrome is running, negating the need for all the bits that came before. Thus, that ends up being the entire script. I hope this helps you out, and helps resolve the issues your users were having.
  47. 2 points
    1. In my never-ending quest to shoehorn ever more snippet functionality into Alfred, I'd love (at least the option of) a Date Modified column in the Snippets list in Preferences – I live and die by Alfred snippets in my (email-based customer support) day job (lots of boilerplate text and instructions/fixes for common issues), and being able to more easily surface old (and potentially stale) snippets would be a big boon. I can fudge this by exporting/renaming to .zip/unzipping/checking modification dates, but having this right within the app would be better still! 2. While I'm dreaming, I'd also love per-snippet usage statistics (perhaps across a given time period – you've used this X times this week/month/since creating it) – both for the coolness factor (quantified self foreverrrrrrr!) but more usefully for the purposes of seeing what snippets I most frequently use (and should concentrate on making sure are most polished). 3. A tiny one – the snippet browser shows Keyword '' (empty quotation marks) for a given snippet when no typed keyword is set, which offends my delicate aesthetic sensibilities – would love to just have this not displayed in such cases. (Turned into a three-in-one-request, but at least all thematically linked – sorry!)
  48. 2 points
    tone

    Movie and TV Show Search

    Movie and TV Show Search Search for movies or tv shows and get general info and ratings from various sites. Features Get movie/tv show runtime, genre, MPAA rating Get ratings from IMDb, Rotten Tomatoes, Metacritic (if available) Show a link to a trailer (if available) Show a few credits Download Get the workflow from Packal or GitHub. Usage Type 'movie' and the title you'd like to search for. Select item (ENTER) to get movie info. Type 'tv' and the title you'd like to search for. Select item (ENTER) to get show info. Thanks Thanks to @deanishe for Alfred-Workflow. Uses TMDb and OMDb APIs for info. @vitor for all his help with developing a great workflow Changelog 2.6 (2017-11-27) Big thanks to @vitor for implementing the following enhancements: - Add support for OneUpdater - Move OMDb API key to workflow environment variables 2.5 (2017-11-27) - Added free OMDb API key 2.3 (2015-07-30) - Add RottenTomatoes audience score 2.2 (2015-05-01) - Open YouTube trailer (if available) when choosing to search all rating sites - Friendly message when internet connection isn't working properly 2.1 (2015-01-28) - added menu item to search all rating sites at once - added script behaviour queue delay (requires Alfred 2.6 or higher) - fixed rotten tomatoes search 2.0 (2015-01-20) - added tv show search - fixed issue with quick look not working for some items - removed tiny poster icon (didn't like the squishing and there was an issue with caching the icon in Alfred) 1.3 (2015-01-16) - removed argparse reference (and setting personal TMDb API key functionality) - updated alfred-workflow library to latest (v1.11.0) - fix/tidy up string encoding issues - error handling fixes 1.2 (2015-01-11) - show tiny poster in movie details listing - generate sexy html file for when first item in details listing is selected - add fallback search item (must be added manually in Alfred preferences > Features > Default Results > Setup fallback results) 1.1 (2015-01-10) - Add default TMDb API key 1.0 (2015-01-10) - Initial release This workflow is released under the MIT Licence.
  49. 2 points
    Hello Deanishe, Yes, Alfred's clipboard merging feature is great, but you need to decide what you want to paste before to copy your text, which is not always easy.
  50. 2 points
    deanishe

    Open Contacts App from Alfred

    IMO, it would be more intuitive if the "Open contact in Alfred/Contacts.app" feature worked like normal workflow results, i.e. ENTER for the default action and CMD+ENTER for the alternate. It's a standard Alfred idiom to use CMD/CTRL/OPT/SHIFT+ENTER to perform alternate actions, while CMD+O is only used with contacts (AFAIK), so people are more likely to try CMD+ENTER, and to remember it. Also, the subtitle should then change to "Open contact in Contacts.app" or "Open contact in Alfred" when CMD is held down (just as it changes to "Search for 'x' in Spotlight" when you hold down OPT when a contact is selected).
×
×
  • Create New...