Action

New Draft in Tab

Posted by agiletortoise, Last update 9 months ago

Creates a new draft in a new tab on Mac. Falls back to creating in a new window on iPad, and just opening a new draft on iPhone.

Steps

  • script

    if (device.model == 'Mac') {
    	app.currentWindow.openInNewTab(new Draft())
    }
    else if (device.model == 'iPad') {
    	app.openInNewWindow(new Draft())	
    }
    else {
    	editor.load(new Draft())
    }

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.