Drafts Action Directory

evalToClipboard

Last update 5 months ago

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

Install

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

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.