Action

Complete Task AppleScript- OmniFocus

Posted by Mike_Burke, Last update over 2 years ago

This creates the AppleScript needed to mark a task complete in OmniFocus.

Steps

  • prompt

    promptKey
    prompt
    promptTitle
    Task ID
    promptMessage
    What is the OmniFocus Task ID?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    includeCancelButton
    true
  • insertText

    template
    tell application "OmniFocus"
    	tell front document
    		set myTask to task id "[[prompt_text]]"
    		mark complete myTask
    	end tell
    end tell

Options

  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.