Rename using Custom Data for human being

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

tell application id "DNtp" 
		set theNote to move record theNote to theFilingGroup
		set name of theNote to theTitle
end tell
1 Like