Is a script like this possible?

there’s an assign tag script i got on here that i use to assign documents with the tags in that database. but what if i wanted to script something that would allow me to just assign documents with the tag(s) i’ve selected. so lets say i had 25 tags and i wanted every document that has those 25 phrases tagged accordingly. is that script possible? or no?

Can you clarify this?

Do you mean you want to search for particular words and assign corresponding tags?

That can be done via smart rule easier than in a script

I use this to tag the source of news feeds that I read:

image

You mean something like this Script: Assign selected tag to matching records based on content and name?