Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10124
    parameter
    Member

    I’d like an Edit option to Paste while Copying the what I have selected – i.e. swap what I have selected and what is in the clipboard. Maybe call it “Swap” or “Paste/Cut”.

    #10136
    Yutaka Emura
    Keymaster

    Hi parameter,

    You can write a macro for this purpose easily. Please let me know if you need a help writing a macro.

    Thank you!

    #10142
    parameter
    Member

    Thanks, this seems to work.

    var cut=document.selection.Text;
    var paste = clipboardData.getData(“Text”);
    clipboardData.setData(“Text”, cut);
    document.selection.Text=paste;

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.