Using inputAttributes in AppleScript with Things.app?

I have the following AppleScript working to add a new to-do to Things.app:
However, I would like for it to pick up the project name, so I added a custom token ("Project Name") so as to be able to grab the folder name and use it in the AppleScript using the "inputAttributes" feature (although I am not sure exactly who to use this feature). See below where I would like for this to be inserted into the AppleScript (placed as **inputAttributes** in the spot where I want the name to be inserted):
- Code: Select all
tell application "Things"
set newToDo to make new to do with properties {name:"Add project start date to database!", due date:current date} at beginning of list "Today"
set area of newToDo to area "Work/Biz"
end tell
However, I would like for it to pick up the project name, so I added a custom token ("Project Name") so as to be able to grab the folder name and use it in the AppleScript using the "inputAttributes" feature (although I am not sure exactly who to use this feature). See below where I would like for this to be inserted into the AppleScript (placed as **inputAttributes** in the spot where I want the name to be inserted):
- Code: Select all
tell application "Things"
set newToDo to make new to do with properties {name:"Add **inputAttributes** project start date to database!", due date:current date} at beginning of list "Today"
set area of newToDo to area "Work/Biz"
end tell