Chaining Smartrules Conditions

As mentioned in the title, is there perhaps a way to chain devonthink run-on conditions?

As shown in the picture above, it’s only possible to perform actions on or conditions. This is sub-optimal as we may want to perform an action that runs on save, but runs at most once an hour.

As a workaround, you could use keyboard maestro to trigger smart rules.

Which of the following options can be used to trigger from KM? I’m not quite sure.

Smart Rules in DevonThink can be triggered from a Keyboard Maestro macro through an “Execute AppleScript” action with the following code, which was originally shared by @pete31:

tell application id "DNtp"
	perform smart rule name "Add name of Smart Rule here"
end tell

Simply replace the text in quotation marks with the name of your smart rule.

So in principle, any trigger available for KeyBoard Maestro macros can also be used to trigger a smart rule in DevonThink.

2 Likes

This sounds exactly like an OR set of conditions.
On Saving OR Hourly.

Sadly no, as saving seems to happen more much more frequently than once per hour (when I alt-tab for example)