Jump to content

Problem with converting Reminders extension by David Ferguson to workflow

Recommended Posts

I'm trying to adapt this extension to Alfred v2:



First, I added a Keyword input.

- with space is checked

- argument required is selected


Then I added a Run Script action that looks like the following:




I also moved the reminder.scpt file to the workflow folder.


When I run the workflow, it will successfully create the reminder in Reminders.app, but it always sets the time as 12/31/69 6pm.


Any ideas? I'm not sure why this is behaving differently than the v1 version.



Link to comment

I haven't toyed with it but its going to be in the WHEN section obviously. I would guess within the first 3 lines or the 4th line. Probably not setting the timezone appropriately or getting an error in the strtotime and then therefore causing problems when trying to get the date() and then it just returns the initial epoch time.


I would suggest taking the code in the WHEN section and putting it in a php file alone, add a few echoes to see values as it progresses. Then you can find exactly where it's dying. There may be an easier way to get the timezone (I'm sure there probably is. I think I've seen it in a plist, I just have to remember which one).

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...