surrealroad Posted October 23, 2013 Author Posted October 23, 2013 Jack, we're in different time zones so October 23 at 12:01PM is still about 2 hours off for me, more at the time of the screen capture. My own 2¢ would be that noon, midnight, and tomorrow would be good to add. Please download the latest version, it addresses issues with 12am/pm, and adds the keywords "noon" and "midnight" ("tomorrow" should work already). Specifically, if you type "am" or "pm" with a time it should use the time as entered, otherwise it will assume a 24-hour clock if you use hh:mm or hh.mm, falling back to a time based on the current time if you just put e.g. "r at 6 to do something". Hopefully this is a little more intuitive now.
xilopaint Posted October 23, 2013 Posted October 23, 2013 Workflow is not working for me on Mavericks (official release). Are you already working on a fix, Jack?
surrealroad Posted October 23, 2013 Author Posted October 23, 2013 Workflow is not working for me on Mavericks (official release). Are you already working on a fix, Jack? Note: OS 10.9 Mavericks Working as of 10.9 Mavericks GM, but performance is slow (14x slower than 10.8) due to an apparent bug in osascript (which may affect other Alfred workflows too, or might just be limited to accessing Reminder data). This means that fetching data from Reminders is taking around a minute or so per reminder. I have implemented an imperfect workaround, which means you'll see an incomplete list of reminders some of the time (whenever the cache is being rebuilt, which is roughly every 2 hours of usage), whilst increasing the amount of time the cache process is allowed to run (to around 17 minutes). This is probably the best I can do for now until the bug gets fixed (which might never happen). Notifications don't appear to be working, though this seems to be the case will all workflows in Alfred in OS 10.9. You will need to enable access to your reminders. You will be prompted to do this when you run the workflow, but if you need to check, go to System Preferences > Security & Privacy > Privacy > Reminders Make sure both "Alfred 2" (and "osascript", if it is shown) are enabled. xilopaint 1
bocaboy Posted October 23, 2013 Posted October 23, 2013 Jack, now it's working. Thanks for the quick fixes! The only disappointing news is that notifications have stopped again, even after I run your Notes workflow, which does show a notification. Go figure. As always, thanks for all of your efforts on behalf of those using Alfred. I wish I had your expertise in coding! surrealroad 1
surrealroad Posted October 23, 2013 Author Posted October 23, 2013 Yeah I really don't know what's up with the notifications, it might be a bug in Alfred itself.
bepeacock Posted October 26, 2013 Posted October 26, 2013 Hi. New to using workflows (and Alfred). I understand the gist, but when i type "radd" it just displays google, amazon, and wikipedia search options. Is there a setting I'm missing somewhere? Thanks and sorry to bump this thread for a noob question.
roccitman Posted October 26, 2013 Posted October 26, 2013 Jack James. Some data. I know you're working on this. Is there somewhere we can make a humble donation for all of your hard work this year? Test results: OS version: 10.9 (0 seconds) Current date: Friday, October 25, 2013 at 4:48:15 PM (0 seconds) Initialize workflow path: /Users/<redacted>/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.72B2599C-C153-4489-9534-D36A3E0E5C4F (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: OK (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Running (0 seconds) Fetch reminder count: 29 (24 seconds) Fetch reminder info: OK (17 seconds) Fetch reminder list count: 2 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: ERROR: /Users/<redacted>/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.72B2599C-C153-4489-9534-D36A3E0E5C4F/cache-reminders.scpt: execution error: Reminders got an error: Connection is invalid. (-609) (162 seconds) Fetch cache timestamp: Friday, October 25, 2013 at 4:48:57 PM (0 seconds) Fetch cached reminder count: 0 (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: OK (0 seconds) Current unix time: 1.382755898E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 203 seconds
surrealroad Posted October 26, 2013 Author Posted October 26, 2013 Hi. New to using workflows (and Alfred). I understand the gist, but when i type "radd" it just displays google, amazon, and wikipedia search options. Is there a setting I'm missing somewhere? Thanks and sorry to bump this thread for a noob question. You should type "radd title of reminder". If you want to specify time/date, see the examples in the first post (or type "r help"). You just use "radd" instead of "r" to force the workflow to create new reminders, rather than just showing you current reminders.
surrealroad Posted October 26, 2013 Author Posted October 26, 2013 (edited) Jack James. Some data. I know you're working on this. Is there somewhere we can make a humble donation for all of your hard work this year? Nope (but I appreciate the sentiment).. Please try this version to see if that fixes the issue: https://dl.dropboxusercontent.com/u/103385/Reminders-beta.alfredworkflow Edited October 26, 2013 by Jack James
bepeacock Posted October 26, 2013 Posted October 26, 2013 You should type "radd title of reminder". If you want to specify time/date, see the examples in the first post (or type "r help"). You just use "radd" instead of "r" to force the workflow to create new reminders, rather than just showing you current reminders. I guess what I'm saying is, the command isn't doing anything. When I type the command out, like "radd get pet food", only google, amazon, and wikipedia search options show. Same when I type "r help". Curiously, when I just type "r" there are several things that come up, like apps that begin with R, and then down at option 7 is "add a reminder". But if I choose that, I'm right back to the results I've described.
roccitman Posted October 26, 2013 Posted October 26, 2013 BenP Did you confirm that Alfred is in your System Prefs > Security and Privacy > Privacy > Reminders box? http://d.pr/i/nprw
xilopaint Posted October 26, 2013 Posted October 26, 2013 I have the same issue. Workflow doesn't work for me since I have installed Mavericks. And yes, I have "Alfred 2" enabled in System Preferences > Security & Privacy > Privacy > Reminders.
surrealroad Posted October 27, 2013 Author Posted October 27, 2013 I guess what I'm saying is, the command isn't doing anything. When I type the command out, like "radd get pet food", only google, amazon, and wikipedia search options show. Same when I type "r help". Curiously, when I just type "r" there are several things that come up, like apps that begin with R, and then down at option 7 is "add a reminder". But if I choose that, I'm right back to the results I've described. I have the same issue. Workflow doesn't work for me since I have installed Mavericks. And yes, I have "Alfred 2" enabled in System Preferences > Security & Privacy > Privacy > Reminders. Please run "rtest" within Alfred, wait for it to complete, and paste the response. See also the note about Mavericks compatibility at the start of this thread, if you haven't already.
xilopaint Posted October 27, 2013 Posted October 27, 2013 Well, I reinstalled the workflow by the OP's download link and it's working again for me. surrealroad 1
jfehlis Posted October 29, 2013 Posted October 29, 2013 BenP Did you confirm that Alfred is in your System Prefs > Security and Privacy > Privacy > Reminders box? http://d.pr/i/nprw I am running in the same problem as BenP. I looked in the System Prefs but can't find Reminders there: https://www.dropbox.com/s/mlzni5er19rm4rc/Screenshot%202013-10-29%2010.59.53.PNG
surrealroad Posted October 29, 2013 Author Posted October 29, 2013 I am running in the same problem as BenP. I looked in the System Prefs but can't find Reminders there: https://www.dropbox.com/s/mlzni5er19rm4rc/Screenshot%202013-10-29%2010.59.53.PNG Please type "rtest" into alfred, and then send me the results. jfehlis 1
jfehlis Posted October 29, 2013 Posted October 29, 2013 Please type "rtest" into alfred, and then send me the results. Test results: OS version: 10.8.5 (0 seconds) Current date: Tuesday, October 29, 2013 10:06:46 PM (0 seconds) Initialize workflow path: /Users/…/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9A0FD0F6-FB29-41D0-B908-29F5015F1D26 (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: OK (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Running (0 seconds) Fetch reminder count: 15 (0 seconds) Fetch reminder info: OK (0 seconds) Fetch reminder list count: 5 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: OK (3 seconds) Fetch cache timestamp: Tuesday, October 29, 2013 10:06:49 PM (0 seconds) Fetch cached reminder count: 15 (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: OK (0 seconds) Current unix time: 1.383080809E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 3 seconds
surrealroad Posted October 29, 2013 Author Posted October 29, 2013 Test results: OS version: 10.8.5 (0 seconds) Current date: Tuesday, October 29, 2013 10:06:46 PM (0 seconds) Initialize workflow path: /Users/…/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9A0FD0F6-FB29-41D0-B908-29F5015F1D26 (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: OK (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Running (0 seconds) Fetch reminder count: 15 (0 seconds) Fetch reminder info: OK (0 seconds) Fetch reminder list count: 5 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: OK (3 seconds) Fetch cache timestamp: Tuesday, October 29, 2013 10:06:49 PM (0 seconds) Fetch cached reminder count: 15 (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: OK (0 seconds) Current unix time: 1.383080809E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 3 seconds Curiously, that seems to be working perfectly. I should note that you are on OS 10.8.5, so you won't need to adjust anything in System Preferences. If you type "radd this is a test" into Alfred, what happens? jfehlis 1
jfehlis Posted October 29, 2013 Posted October 29, 2013 Curiously, that seems to be working perfectly. I should note that you are on OS 10.8.5, so you won't need to adjust anything in System Preferences. If you type "radd this is a test" into Alfred, what happens? “radd this...” seems to work … it added the browser's URL to Reminders... and after doing this, the other ways to create entries seem to work too... no idea why.
roccitman Posted October 29, 2013 Posted October 29, 2013 “radd this...” seems to work … it added the browser's URL to Reminders... and after doing this, the other ways to create entries seem to work too... no idea why. Something similar happened to me (I'm on Mavericks). It was like I needed to teach Alfred to recognize the "r" command by showing it the radd command. Works great now.
chandlervdw Posted October 31, 2013 Posted October 31, 2013 I've tried to search this thread with no luck. Is there a way to change the default list that this workflow posts to? I've changed it in Reminders.app.
surrealroad Posted October 31, 2013 Author Posted October 31, 2013 I've tried to search this thread with no luck. Is there a way to change the default list that this workflow posts to? I've changed it in Reminders.app. Well you have two options. You can specify the list each time by typing "in list <name of list>" at the end of each query, or you can edit the workflow and change the properties at the top of each "run script" step to the name of the list, i.e. 'property reminderList : "name of list"' The workflow otherwise uses the first list it finds by default.
rlocker Posted November 1, 2013 Posted November 1, 2013 I just installed this workflow and was super excited about it, but it just doesn't seem to be working. When I follow the instructions (prepend the reminder with r) I am just getting to a google search, it's not adding reminders. Here are the contents of my 'rtest' clipboard. I am on OSX Lion - haven't upgraded this machine to mavericks yet. Thanks for your help! Test results: OS version: 10.8.5 (0 seconds) Current date: Friday, November 1, 2013 12:37:57 PM (0 seconds) Initialize workflow path: /Users/rlocker/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.BB8F5E3D-1EEF-4437-8D07-CCE23CAB0629 (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: OK (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Not running (0 seconds) Fetch reminder count: 10 (2 seconds) Fetch reminder info: OK (0 seconds) Fetch reminder list count: 3 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: OK (4 seconds) Fetch cache timestamp: Friday, November 1, 2013 12:38:03 PM (0 seconds) Fetch cached reminder count: 10 (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: OK (0 seconds) Current unix time: 1.383323883E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 6 seconds
surrealroad Posted November 1, 2013 Author Posted November 1, 2013 I just installed this workflow and was super excited about it, but it just doesn't seem to be working. When I follow the instructions (prepend the reminder with r) I am just getting to a google search, it's not adding reminders. Here are the contents of my 'rtest' clipboard. I am on OSX Lion - haven't upgraded this machine to mavericks yet. Thanks for your help! Test results: OS version: 10.8.5 (0 seconds) Current date: Friday, November 1, 2013 12:37:57 PM (0 seconds) Initialize workflow path: /Users/rlocker/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.BB8F5E3D-1EEF-4437-8D07-CCE23CAB0629 (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: OK (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Not running (0 seconds) Fetch reminder count: 10 (2 seconds) Fetch reminder info: OK (0 seconds) Fetch reminder list count: 3 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: OK (4 seconds) Fetch cache timestamp: Friday, November 1, 2013 12:38:03 PM (0 seconds) Fetch cached reminder count: 10 (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: OK (0 seconds) Current unix time: 1.383323883E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 6 seconds Does typing "r help" work? Can you give me an example of something you type that doesn't work?
rlocker Posted November 1, 2013 Posted November 1, 2013 Thanks, Jack. Actually it's working now!! I kept typing in different commands and eventually something 'clicked' and they started to work. Thanks! Awesome workflow!!
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