# Rename using Custom Data for human being

**URL:** https://discourse.devontechnologies.com/t/rename-using-custom-data-for-human-being/69820
**Category:** DEVONthink
**Tags:** automation
**Created:** [February 26, 2022, 10:31pm UTC](https://discourse.devontechnologies.com/t/rename-using-custom-data-for-human-being/69820 "2022-02-26T22:31:41Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [February 26, 2022, 10:42pm UTC](https://discourse.devontechnologies.com/t/rename-using-custom-data-for-human-being/69820/2 "2022-02-26T22:42:28Z")

</div>

> [@olivenoire](#):
>
> how to rename files … Applescript

When processing inbox items, I use an Applescript to rename the file;  
see sample below for _set name of theNote to theTitle_  
I use additional code to derive _theTitle_; it can reference custom metadata

```auto
tell application id "DNtp" 
		set theNote to move record theNote to theFilingGroup
		set name of theNote to theTitle
end tell
```

---

_[View the full topic](https://discourse.devontechnologies.com/t/rename-using-custom-data-for-human-being/69820)._
