Drafts Action Directory

Copy

Posted by agiletortoise, Last updated: 2018-07-03 13:57:07 UTC

Copy selected text to clipboard.

Install

Steps

  • script

    // copy current selection to clipboard
    var text = editor.getSelectedText();
    app.setClipboard(text);
    

Comments

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