# "Move to Folder" Automation

**URL:** <https://discourse.devontechnologies.com/t/move-to-folder-automation/70728>\
**Category:** Automation\
**Created:** [April 27, 2022, 7:10pm UTC](https://discourse.devontechnologies.com/t/move-to-folder-automation/70728 "2022-04-27T19:10:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DTLow](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/dtlow/32/18161_2.png) [@DTLow](https://discourse.devontechnologies.com/u/DTLow)\
**Post date:** [April 27, 2022, 9:08pm UTC](https://discourse.devontechnologies.com/t/move-to-folder-automation/70728/4 "2022-04-27T21:08:43Z")

</div>

I learn by having a need and searching for scripts on the internet  
This is a great forum to ask questions  
Here’s a sample to get you started

> [@Moving Inbox Notes to specific folders in my DB](https://discourse.devontechnologies.com/t/moving-inbox-notes-to-specific-folders-in-my-db/64441/7):
>
> Here’s a basic script to move selected records tell application id "DNtp" set selectedNotes to get selection repeat with theNote in selectedNotes set theFilingGroup to get record at "/card_index_dividersFiling" in database "Devonthink" -- -- Additional code to refine value for theFilingGroup -- move record theNote to theFilingGroup end repeat end tell My script has additional code to set filename, tags … I added the script as a toolbar icon

---

_[View the full topic](https://discourse.devontechnologies.com/t/move-to-folder-automation/70728)._
