New record from template via script

I’m looking to get a standard meeting setup profile using Concentrate, which allows me to open specific apps, open specific docs, close others, and set up my workspace to focus on a specific task.

One of the things I’d like to do with it is have DT create a new record from a template (a templatescriptd) and open it for me to edit. I could duplicate the Applescript I have in the template to locate the file, perform an import, etc. But I’d prefer to have that separated from the template logic.

Is there a way to do something like a “create record from template xxxxx”?

1 Like

And this is something that Data > New From Template doesn’t do?

Data->New from Template is great, but I can’t find a way (other than UI scripting) to get it triggered from an external script.

Here’s the kind of thing I want to have Concentrate do:

  • Close down mail
  • Open up a specific illustrator document
  • Create a new record based on my notes template and open it for editing
  • Set up all the windows and workspaces where I want them.

So I want to avoid the manual step of New from Template and clicking on the new record.