Elevenses Posted October 5, 2015 Posted October 5, 2015 I've been using the apple reminders app to keep track of a lot of tidbits of info organized into a handful of lists (e.g., Recommendations, To-do, Jokes), and it would be awesome to have a way of skipping straight to a specific list by typing into Alfred, rather than opening reminders, then clicking on the list (hardly difficult I know, but Alfred has me spoiled on speed everywhere else). Thanks for your time - Alex
RodgerWW Posted October 6, 2015 Posted October 6, 2015 Have you tried: http://www.alfredforum.com/topic/917-reminders/ by Jack James? It may be able to do what you want, and if not, you can request I'm sure, as the workflow is already quite robust.
phantasm Posted March 11, 2016 Posted March 11, 2016 Hi, I have this short applescript that activates Reminders.app on the specific list indicated from a variable. tell application "Reminders" set newList to list "todo" show newList activate newListend tell The script works fine on its own. I then had partial success creating a script filter for this: SCRIPT FILTER: set theQuery to "{query}" NSApplescript: tell application "Reminders" set newList to list theQuery show newList activate newList end tell I would like the workflow to show auto-completion suggestions from the user's created lists. I don't know script filters at all. Does someone know how to extend this into a workable auto-complete workflow? Thanks
phantasm Posted March 11, 2016 Posted March 11, 2016 this applescript works, but I don't know how to show autocomplete results based on your query: tell application "Reminders" set newList to list "new" show newList activate newListend tell Guessing someone might?
deanishe Posted March 12, 2016 Posted March 12, 2016 There are quite a few moving parts in a workflow like that, so I built a very simple one that you could extend as needed. You might want to change it to also filter on account name as well as list name, for example.The corresponding docs are here. Download and install the workflow from here.
phantasm Posted March 12, 2016 Posted March 12, 2016 Thank you, this works great! Thanks for getting it going. Just curious, there is a short delay when first fetching the lists, then the workflow seems to cache the results for a few seconds, then goes back to a delay. Do you know why this is? Much appreciated. Your scripts have some style!
deanishe Posted March 14, 2016 Posted March 14, 2016 The delay is the workflow asking Reminders.app for its lists. Then it does indeed cache the lists for 10 seconds to make the workflow snappier to use (you don't want it talking to Reminders.app on every keypress).Currently, it's set up to cache the data for 10 seconds. You can change that in the code if 10 seconds is too long/short.In a more "serious" workflow, I'd retrieve the data from Reminders.app in a background process, so the workflow is always super snappy.If you want to do that, here's a tutorial.
Elevenses Posted December 1, 2017 Author Posted December 1, 2017 Hey, I forgot about this, but it's still something I want and find useful now. Thanks Deanishe! Changed it to 5, and it's everything I want in pulling up lists.
deanishe Posted December 2, 2017 Posted December 2, 2017 I completely forgot about this workflow. I've just released a new version for Alfred 3, with a few new features. How long the workflow caches reminders lists is now configurable via the workflow's configuration sheet, and it also updates its cached list of reminders in the background, so no more delay while the workflow talks to Reminders.app. The list of results will automatically refresh if your Reminders.app lists have changed. I've also expanded the comments in the code, as this is supposed to be a demo/tutorial workflow. Enter .rem workflow:update to install the new version automatically.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now