2do Note Tomorrow
Shared by Joy
Creates a 2do with the Date from Tomorrow and a Tag (in 2do add a Smart group for fast find)
Script
var path,
name,
pathWithName,
link;
path = editor.getFolderPath();
name = editor.getFileName();
pathWithName = path + "/" + name
link = "onewriter://x-callback-url/open?path=" + encodeURIComponent(pathWithName)
nameConv=encodeURIComponent(name)
dopath= 'twodo://x-callback-url/add?task=' + nameConv + '&forlist=Startseite&tags=fNotes&due=1&dueTime=18:30&action=url:' + link + '&x-success=onewriter://'
doshow= 'twodo://x-callback-url/search?text=fnotes'
app.openURL(dopath);