Applescript help: create note in current group

Hi all

i have this section in a Applescript i wrote for Devonthink:

create record with {name:dtNAME, URL:urlURL, type:markdown, source:"# " & dtNAME}

this creates the record in the global inbox. does anyone know how to create the note in the current group im currently in?

thx!

Z

Add in current group At the end of the line.

thx @BLUEFROG, that’s perfect!

Z

You’re welcome.