I’m attempting to duplicate a task using Javascript, but I cannot figure out the location specifier syntax. In Applescript, I would do:
set theDupe to duplicate anItem to after anItem
in Javascript, it should be something like:
var dupe = task.duplicate({to: task.after()});
which gives me the error:
execution error: Error on line 25: Error: Replacement not supported currently, please log a feature request if you need this. (9)