Choosing specific inbox with folder action script?

I have three databases and their inboxes as:

inboxes
inboxes
docs
dump
quicknotes

I’ve got a script attached to a folder named “dump”, and I’d like anything I put into that folder to go to the inbox of the dump database.

Using the current code, the file instead goes to the generic “incoming group”:

tell application id "DNtp"
	set theRecord to import thePath to incoming group

How would I change
set theRecord to import thePath to [go the the dump inbox]

Thanks!

Just specify the database too.

tell application id "DNtp"
set theInbox to (incoming group of database "Temp")
end tell

Perfect. Thanks, Jim.

You’re welcome :slight_smile: