Page 2 of 2

Re: Create a new Reminder in Mountain Lion

Posted: Mon Jan 28, 2013 8:54 am
by keitofu
I did it :

buy milk @today 9am -> no reminder created
buy milk @9am -> no reminder created
buy milk @today 9 -> reminder for september, 1st at 00h00


edit : taking a look at the console, if I input : >buy milk @today 9am
I have the following message :

28/01/13 15:43:34,022 LaunchBar[40938]: NSAppleScript Error -1700: Il est impossible de rendre "9am" en type integer. (Range: 0, 0)

(impossible to convert 9am to integer)

Hope that helps

Re: Create a new Reminder in Mountain Lion

Posted: Tue Feb 05, 2013 6:39 pm
by sabdal
2/5/13 11:34:05.352 AM LaunchBar[244]: NSAppleScript Error -1700: Can’t make item 2 of {"4pm"} into type integer. (Range: 0, 0)

From Console. It seems there has to be a space between 4 and pm:

@4 pm instead of @4pm.

Re: Create a new Reminder in Mountain Lion

Posted: Tue Feb 05, 2013 6:54 pm
by keitofu
with the space :

05/02/13 17:53:10,916 LaunchBar[40938]: NSAppleScript Error -1700: Il est impossible de rendre "am" en type integer. (Range: 0, 0)

(can't make "am" into type integer)

Re: Create a new Reminder in Mountain Lion

Posted: Mon Feb 11, 2013 5:57 pm
by sabdal
@jayphen, thanks for a great script.

https://gist.github.com/Jayphen/3187630

I went back and downloaded the lastest version. Works great. My only request would be to have Growl or some other "error" message so we know when reminders didn't actually get created because of a typo or bad syntax? Thanks!