You’ll find most, if not all, of what you need to modify it in the various script modifications I wrote for you in the last weeks in this thread.
The modifications you asked for in the past were all about a very specific database setup in which you use images and thumbnails in an unusual way. I already had a hard time understanding your first desired setup and as it turned out you didn’t really know how it should look like as you’ve changed your mind several times.
For most people who just want to solve a specific task for which a script would be useful (or the only way) it doesn’t make much sense to try to modify an existing script on their own or to learn AppleScript, so I’ll be happy to write it.
In your case however there is this very unusual database setup, plus you’ve added DEVONthink features to your setup which I don’t use myself, plus you change the setup all the time.
I think what you mean is: you wonder if I will modify it for you. No, I won’t. I won’t be the guy who modifies scripts for you on a regular basis.
Yes, I’ve shared a lot of scripts here, but what do you expect me to do? Do you want me to modify every script I’ve shared to fit your specific setup? Sorry, I won’t do that.
And I don’t think you should expect from other users that they’ll wrap their heads around your unusual setup every time you want someone to modify or write a script, but maybe you’ll find users who do that.
Don’t get me wrong, there’s nothing wrong with your setup or with asking for help.
But altough I understand that you’re a new user and don’t know AppleScript I think that it doesn’t make sense and actually is quite impolite to want someone else to do something for you only to find out that the time spent with helping you was all for nothing because you’ve changed your mind again.
So my conclusion is that you’ll have to learn AppleScript.
If you do chances are that you can realize exactly the setup you want after some weeks or even days.
How to get started with AppleScript in general:
Don’t modify existing scripts. Read and try to understand the steps taken in a script, then write your own.
Do search if you don’t know how something is done. Use e.g. startpage.com to search for “AppleScript” plus the command or idea you have.
Do use descriptive variable names. Using self-explanatory variable names makes it easier for you to understand what your script does while writing it and in the future. It also makes it easier for other users, e.g. when you post one that you need help with. You’ll often find variable names used in someone else’s script cryptic or not descriptive enough. Change these to your own when you write your version.
Do use comments.
# in front of a line comments it out. Use them to deactivate code while testing something or to add your own comments. It’s also a good idea to start every script with a short description of the desired outcome and the date you started to write it.
How to get started with understanding what happens in a script:
Download Script Debugger.
Read Script Debugger’s help.
Use Script Debugger’s Results & Variables Tab
How to explore an app’s AppleScript dictionary:
Select Script Debugger’s menu
Window > New Dictionary Window.
Select e.g. DEVONthink 3 in the sidebar.
Use the three tabs at the top (“Dictionary”, “Object Model” and “Explorer”) to explore the dictionary.
How to find scripts on the forum:
Don’t search for “AppleScript” as this is the main scripting language used with DEVONthink and most script posts don’t contain this term.
Do search for somthing that’s part of almost all scripts, e.g. “tell application”
Do add “after:2019-09-12” to the query to find scripts which work with DEVONthink 3 (that’s the date of the official DEVONthink 3 release).
Do also search with “before:2019-09-12” to find older scripts, but be aware that things might have changed.