Apply multiple smart rules simultaneously?

Hi.

In an attempt to have my DB’s inboxes show inside their relevant DBs, I have, amongst other things, set up multiple smart rules which I’d like to be able to apply at once, instead of one at a time. I have no knowledge of scripts, but I imagine that would be the way to go. Could such a hypothetical script have an icon that could be added to the toolbar too? That would complete my workaround.

I thank you all in advance.

Elton

That’s possible, e.g.

tell application id "DNtp"
	-- Applies the actions of the smart rule to all its matching items
	perform smart rule name "Test"
end tell

After saving the final script to ~/Library/Application Scripts/com.devon-technologies.think3/Toolbar it can be added to the toolbar too.

Thanks!

In Script Editor, right?

…and add in all the different smart rules I want to batch together.

Pretty Cool.

Exactly.