I’ve got a set of folders that I use for clipping & filing articles and documents within my global Inbox. I’m wondering how users would advise me to “Move” files from the Global Inbox folder to my database groups.
It seems easiest to do do this through some Smart Rule set up, but there might be an easier way (and one that doesn’t involve setting up Smart Rule for each Inbox folder “Move”).
Thanks very much. I should clarify my set up and process a bit more…
Basically, I have two main groups in my Global Inbox: Articles & Documents (for official documents). If I were a zoologist, the groups and subgroups would break down like this…
On the other hand, I’ve also got project-specific groups in my databases, i.e., project-groups like Antelopes , Gorillas and Whales.
These project-specific groups contain the following folder (group) structure…
2. Media (photos / videos)
It’s obviously quicker and easier to clip articles within the Global Inbox’s subject-based Articles & Documents – rather than navigating to project-specific groups->3. Articles->RAW groups.
So, with that background, I’m wondering how best to Move files from Global Inbox’s subject-based groups (Articles & Documents) to the Articles & Documents groups within the project-specific groups. Hope that makes sense! And thanks in advance for your help and input…
After setting the variables, the script executes this code
tell application id "DNtp" ------------------------------------------------------------- Update Note; Group, Title, Subject Date, DueDate , Tags ...
set theNote to move record theNote to theFilingGroup
set name of theNote to theTitle
set tags of theNote to tags of theNote & theTagList
set locking of theNote to true
if setDueDate then add custom meta data theCalendarDate for "taskdate" to theNote
set label of theNote to taskLabel
set comment of theNote to comment of theNote & reference URL of theNote
Thanks very much for sharing this! I confess I’m not great with scripts (I just don’t know much about how to assemble them, and lack much coding knowledge), so apologies in advance for my ignorant questions. Quickly…
-What are variables need to be set? Are they variables within the DTP Inbox / group(s) set-up? For the script? Both?
-After adjusting the script to match the DTP groups (and/or Tags), does one compile & save the changes in AppleScript?
-And then, I assume you just attach the script to the group(s), is that right?
BTW, I’m curious about how (or why) you use this if you’ve got a “a flat inbox, with no subfolders”…
Thank you very much for this explanation and breakdown! It’s very helpful… So, in order for this to work does one need to change or refer to a file’s element (name, tag, etc.) in order for it to move from one DTP to another?
I thought there were trigger scripts that could simply move all files, regardless.
In my example I coded a variable (theNote) that references the record being moved
Since I trigger the script manually, I coded - set theNote to get selected
If the script is triggered by a DT Smart Rule, the rule sets the variable automatically