Action

Send to Things Quick Entry

Posted by agiletortoise, Last update 2 months ago

Open a Things quick entry window with the title of the draft as the task name, and a permalink to the draft as the notes.

(Uses AppleScript and is macOS-only)

Steps

  • script (macOS only)

    let method = "thingsQuickEntry";
    let script = `on thingsQuickEntry(myName, myNotes)
    	tell application "Things3"
    		activate
    		show quick entry panel with properties {name:myName, notes:myNotes}
    	end tell
    end thingsQuickEntry
    `;
    
    let runner = AppleScript.create(script);
    if (!runner.execute(method, [draft.displayTitle, draft.permalink])) {
    	console.log(runner.lastError);
    	context.fail();
    }
  • prompt (iOS only)

    promptKey
    prompt
    promptTitle
    iOS not supported
    promptMessage
    This action requires AppleScript and is only compatible with the Mac version of Drafts.
    promptButtons
    OK
    includeTextField
    false
    textFieldDefault
    includeCancelButton
    true

Options

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