AppleScript Dictionary - New Reminder properties 'alarm:reading list'

I have amended Christian’s DT script “remind me tomorrow” and incorporated into a Smart Rule to work on imported emails;

The only change is that I want the Alarm to add it to the Reading List rather than ‘notification’ . To achieve this I viewed the Dictionary and replaced ‘notification’ with ‘reading list’ in the properties;

This change does not work!! On compiling I noticed that ‘reading list’ did not show in italics.

I am obviously missing something … but what!?


It’s likely just an issue with the property not working.
Development will have to look into this.
Thanks for your patience and understanding.

Thank you; pleased it wasn’t me!!

I assume you will notify development?


I understand the question for learning/understanding purposes.

But that said, why use a script when the ability to display a notification or alert or to add to reading list are Smart Rule options?


Agreed but, this is about waiting for a period of time before adding to reading list eg giving a recipient time to respond.

Fully accept that there is an Add to Reading List option and will use in the interim but if Dictionary allows for this property then it should work!


Others in development also read the forums, so yes they will be aware.

It’s a conflict of the reading list property of the application and of the reading list option of reminders alarms. The next release will rename this option.

1 Like

Taken me a long time to get back to this but could you advise what ‘reading list’ has been renamed to as hasn’t changed in the Dictionary?

Got that but using this line:

tell theRecord to make new reminder with properties {schedule:once, alarm:reading list, due date:due_date}

Sets the date correctly but adds the Alarm as ‘Display Notification’ rather than ‘Reading List’.

The alarm is add to reading list according to the dictionary entry.

Its always so obvious! Thanks both.

You’re welcome.

Just when I thought it was sorted!

on performSmartRule(theRecords)
	tell application id "DNtp"
		set due_date to current date
		set due_date to due_date + 3600 * 24
		set time of due_date to 0
		repeat with theRecord in theRecords
			tell theRecord to make new reminder with properties {schedule:once, alarm:add to reading list, due date:due_date}
		end repeat
	end tell
end performSmartRule

This still puts the alarm as Display Notification. I tried using mail and adding the alarm string with no change. Have I missed something else in setup?

Actually your script works as expected over here. Which version of macOS and DEVONthink do you use?

Big Sur 11.2.1

DTP 3.6.2

What does happen after dragging and dropping an item onto the smart rule? Is the desired reminder added?

Works now, having created a new SmartRule. Comparing and I had a Cancel in the previous smart rule list of actions. As ever my error …!!
Thanks for your patience.