OmniFocus: New Sequential Project

This shortcut will create a new sequential project containing the specified number of tasks. To add the project to a specific folder, enter the name of the containing folder when prompted, otherwise leave folder name blank. After entering the project name, you will be prompted to enter the number of tasks to add to the created project.

INSTALL SHORTCUT

New Sequential Project Workflow
Shortcut Script


try { folderName = argument.input.folderName projectName = argument.input.projectName if(folderName.length === 0){ var targetFolder = null } else { var targetFolder = flattenedFolders.byName(folderName) || new Folder(folderName) } project = new Project(argument.input.projectName, targetFolder) project.sequential = true itemProperties = new Object() itemProperties["primaryKey"] = project.id.primaryKey itemProperties["type"] = "project" itemProperties["version"] = 1.0 JSON.stringify(itemProperties) } catch(err){ var alertPromise = new Alert(err.name, err.message).show() alertPromise.then(result => {throw new Error(-128)}) }