Jump to content

Apple Reminders


Recommended Posts

Adds reminders to Apples Reminders Inbox

Syntax: rm <Title>;<due day>;<time>

Following options:

  • due day and time are empty: due day will be set to today with 3 hours from now
  • time is empty: Reminder will be set to date provided at given time
  • accepted date format: <day>.<months> or <day>.<months>.<year> or tomorrownext week or <weekday>
  • weekday e.g. "Wednesday": Reminder will be set to the next weekday
  • accepted time format: <hours> or <hours>:<minutes>

rmhelp opens quick help in Large Type

 

http://www.packal.org/workflow/apple-reminders

Edited by Acidham
Link to post
  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Adds reminders to Apples Reminders Inbox Syntax: rm <Title>;<due day>;<time> Following options: due day and time are empty: due day will be set to today with 3 hours from now t

Posted Images

Nice workflow!  Thanks.

 

I'm having a problem with the time not working... it gets the date right but the time is always 12:00.

 

Here's the log;

 

[iNFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.applescript' with arg 'test;tomorrow;14:00'

[iNFO: alfred.workflow.action.applescript] Processing output 'alfred.workflow.output.notification' with arg 'test

Due: Thursday, February 25, 2016 at 12:00:00 AM'

[iNFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.applescript' with arg 'test;friday;09:00'

[iNFO: alfred.workflow.action.applescript] Processing output 'alfred.workflow.output.notification' with arg 'test

Due: Friday, February 26, 2016 at 12:00:00 AM'

[iNFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.applescript' with arg 'test;saturday;9'

[iNFO: alfred.workflow.action.applescript] Processing output 'alfred.workflow.output.notification' with arg 'test

Due: Saturday, February 27, 2016 at 12:00:00 AM'

Link to post

on which version of Mac OS are you? it seems that reminder does not accept the due date. 

 

Could you please try this applescript code: 

set queryTime to "14:00"
set theDate to date string of ((current date) + (1 * days))
set DueDate to date (theDate & " " & queryTime)
tell application "Reminders"
	tell list "Inbox"
		make new reminder with properties {name:"Test", remind me date:DueDate}
	end tell
end tell
Link to post

I'm on El Capitan (10.11.3).

 

When I run that applescript it still creates a reminder tomorrow at 12:00.

 

When I ran this applescript, it did create it at 9am

set theDate to date string of ((current date) + (1 * days))
set DueDate to date (theDate)
set time of DueDate to 60 * 60 * 9
tell application "Reminders"
	tell list "Inbox"
		make new reminder with properties {name:"Test", remind me date:DueDate}
	end tell
end tell 
Edited by kmarchand
Link to post
  • 2 weeks later...

I cant get this one working when I add reminders I get no confirmation and I see no new reminders added to the "Reminders" app, any ideas?

 

 

Can you try to run following apple script in Script Editor (copy&paste):

set theDate to date string of ((current date) + (1 * days))
set DueDate to date (theDate)
set time of DueDate to 60 * 60 * 9
tell application "Reminders"
	tell list "Inbox"
		make new reminder with properties {name:"Test", remind me date:DueDate}
	end tell
end tell 

What is the output and/or result? Which Mac OS X version is in use?

 

In addition please also run the script with Alfred Preferences → Debug Mode

Edited by Acidham
Link to post

Please try following script first. It should create reminder at 9am:

set theDate to date string of ((current date) + (1 * days))
set DueDate to date (theDate)
set time of DueDate to 60 * 60 * 9
tell application "Reminders"
    tell list "Inbox"
        make new reminder with properties {name:"Test", remind me date:DueDate}
    end tell
end tell 

Let me know in case the test was successful.

Edited by Acidham
Link to post

Seems but I do not have proof of it. I am on El Capt latest beta 5 and once i developed it i was on beta 4. 

 

I am generating Due Date from a string

set DueDate to date (theDate & " " & queryTime)

but it seems that that older version does not accept that. Therefore kmarchand changed it to get due date (w/o time) and add it later:

set time of DueDate to 60 * 60 * 9

Flipside is I need to rewrite a bunch of code to calculate e.g. 9:30 or 22:15 

Link to post
  • 1 month later...
  • 1 month later...

Hello Acidham, thanks for this awesome workflow. I add "Alfred3" to the Security and Privacy preference panel but where/how do I add "oascript" please?

I also noticed if Reminders app is open/running and I try to add a reminder that seems to lockup Alfred3. Thanks in advance! 

 

Seems that you need to allow Alfred and oascript to access Reminders.

 

System Preferences > Security & Privacy > Privacy > Reminders 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...