Stream annotations from your PDF reading sessions with DEVONthink

… But the annotation MD file does not contains any annotation, only the header… :sweat:

Hmm. Did it work previously? I was using it a few days ago but can’t recall what version of DEVONthink I was on.

Yes, it was working flawlessly. What I’ve done is re-download both script and smart rule and install as new, deleting previous one, without luck.

And finally I understood the “debug” way and yes, it generates a new MD file… with the header only and no annotations. I’m using last DT version, 3.8.6, and it worked with same version before.

2 posts were split to a new topic: R Murphy - Stream Annotations

This is amazing and is working for me. It is storing the annotations in my inbox. I have setup a rule to move them to a group as instructed above.

But, the criticmarkup’s highlights are not getting removed for me.

Thank you. This is probably one important feature that is missing in Devonthink. I was really needing it and it works!

It is still not working in 3.8.7 version: it creates or updates the MD file, shows the a number of annotations, but MD file is empty. See captures.

Is this working for all of you?

Sorry for the delayed reply. Indeed, it’s still chugging along for me! You might want to try the following debugging process:

  1. Open the script, switch the debug flag to true, and save it. (For efficiency, you may also want to switch the value of delayAfterReadingSessionInMinutes to a lower number so that the script triggers faster.
  2. Copy and paste the modified script into the smart rule. (Remember that inline scripts work better than script files for this.)
  3. Quit and relaunch DEVONthink.
  4. Annotate a file and wait for the trigger to fire.

The debug flag will report what’s happening as the script progresses to give you a sense of where it might be getting stuck. To shut debugging off, switch the properties back in the inline editor and then quit and relaunch DEVONthink.