Action

evalToClipboard

Last update almost 6 years ago

Does a JavaScript evil on the text of the draft and copies that to the clipboard. Useful as a part of Workflow flows.

Steps

  • script

    // See online documentation for examples
    // http://drafts5-help.agiletortoise.com/
    
    var output = eval(draft.content);
    console.log(output);
    app.setClipboard(output);
    

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.