New Draft in Tab

Posted by agiletortoise, Last update 2 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.


  • script

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


  • 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.