RSS Refresh w. Applescript?

Does anyone have an applescript they can share that refreshes their RSS feeds?

I’m looking for an easy way to manually refresh several RSS feeds at a time. I understand they can be scheduled to refresh through DEVONthink’s preferences at various intervals, or individually selected and refreshed through the menu. However, I was hoping to create a script that I could just throw in the toolbar that would manually refresh all of the feeds that I have set up in DEVONthink. So, just to be clear, my feeds are set up correctly and downloading items at the appropriate interval set in DEVONthink’s preferences, but I’d like to use an applescript to refresh them without clicking around (i.e., regardless of whether I’ve selected the RSS feeds, etc.).

Over the years, there have been several posts in this forum about the issue. However, I have not been able to locate any with examples that use DEVONthink’s refresh command - which appears to be relatively new. I’ve included a screenshot below from the applescript library.

Could anyone share an example of an applescript they use with this command? I understand that the examples are likely to be specific to your working environment (e.g., how they’re grouped, tagged, etc.).

As you can probably tell from this post, I’m new to DEVONthink and, to put it generously, a novice applescripter. However, I am pretty good a reverse engineering things from examples!

Also, if this isn’t the appropriate applescript command, what do others use?

Thanks for any help you can lend!

Here is a very simple teaching edition version…

tell application id "DNtp"
	set rss01 to get record at "/Web/Files/DEVONtechnologies Community - Latest topics" in database "File Types"
	set rss02 to get record at "40Tech" in database "iOS Sync Test"
	refresh record rss01
	refresh record rss02
end tell

Again, this is for education and not optimized in loops, etc. but it covers the essence of the request and is fully functional.


This is perfect @BLUEFROG! Thank you so much!!

You’re very welcome!
I hope it encourages you to explore even more Cheers! :slight_smile:

1 Like