V 4.2.1 script non-function

I upgraded to DEVONthink 4.2.1 and was excited to see the new scripted Reminders integration. But when I select a document and activate Scripts → Reminders → Export to Reminders, nothing happens. On the Reminders side, I have an existing DEVONthink list–but it remains empty.

Am I missing something?

Does the selected document have a reminder in DEVONthink?

Does the document have a reminder?

According to the release notes, the new script is for “mirroring” DEVONthink reminders.

(There was already Scripts > Reminders > Add as To Do to Reminders)

Got it; the note did not have a Reminder, and once I added one the export to Apple Reminders worked.

I misunderstood the purpose of the script, and thought instead that the word “mirror” meant that action taken in Apple Reminders – such as complete – would be mirrored in DEVONthink.

Thanks for the quick reply!

Sorry if my choice or wording was confusing.

Should it take about a minute with the wheel spinning in reminders to add the task?

Is DEVONthink allowed to automate Reminders?

Yes, it is allowed.

Do you ever clean up (delete) completed reminders?
I remember reading about someone having thousands of completed reminders clogging up the system without being aware of it. After removing them, everything worked much smoother.

I don’t know if something like that could impact performance of the script, just a thought.

Thank you. That’s interesting as in fact I’ve never cleared out my old reminders. @cgrunenberg does this make sense to you?

How many reminder lists do you have?

6 active, 41 archived, a couple shared. Except for my main “Tasks” list most our short checklists for packing or trips.

So you have one item with a reminder selected in DEVONthink and run the Export to Reminders script?
And it beachballs in Reminders.app for a minute before the reminder is created?

Correct

This would definitely make sense. I once experienced poor performance of Reminders.app too due to thousands of completed but never deleted reminders :wink:

How many completed reminders do you have in all? (There is a count in the “All” smart list just under the header, or you can look in the “Completed” smart list)

OK I deleted older reminders and the script runs in a few-10 seconds now. Thank for the help.

Suggestion: I would find it helpful if you had an option in the list for “Today”, where say the time was the upcoming hour or settable rather than having to go through the Custom menu.

As with every script it’s possible to customize the code to suit your needs.

Oh right, I see. Yes I was able to modify it so it defaults to Today with the time the next hour. Thanks.

I too am curious, how many do you estimate you removed, as that’s a dramatic impact on performance.