Lines to Drafts

Posted by @RosemaryOrchard, Last update over 1 year ago

Converts each line in the current draft into a new draft, and trashes the original draft.


  • script

    // See online documentation for examples
    var lines = draft.content.split("\n");
    for (line in lines) {
    	if (line === 0) continue;
    	var d = Draft.create();
    	d.content = lines[line];


  • After Success Trash
    Notification Info
    Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.