Open/View a group with a Smart Rule

Is it possible to have a smart rule open a Group?

For example: a smart rule moves a file into Group A, then open Group A.

I often open the group after Smart Rules have run to ensure my rules were processed clean and the file moved to correct group.

You can use an Apply Script action and a simple script to open that particular group.

Great to hear! Can I get an example??
Thanks in advance!

Sure. Here is the simplest version, for when only one group is concerned.

property groupUUID : "x-devonthink-item://00000000-0000-0000-0000-000000000000" -- Use item link of the desired group

tell application id "DNtp"
	set (root of think window 1) to (get record with uuid groupUUID)
end tell
2 Likes

Thanks so much, works like a charm. Certainly a standard function worthy of adding to the Smart Rule dictionary: GoTo Group…

Virtual beer for you!

1 Like