Questions tagged [copy-paste]

For issues relating to cut, copy, and paste operations.

The term "copy-and-paste" refers to the popular, simple method of reproducing text or other data from a source to a destination. It differs from cut and paste in that the original source text or data does not get deleted or removed. The popularity of this method stems from its simplicity and the ease with which users can move data between various applications visually – without resorting to permanent storage.

Source: Wikipedia

3477 questions
9
votes
1 answer

How do I paste multi-line python script into ConEmu?

Is it possible to copy and paste muti-line python into Git Bash? (in Windows 10) Currently, if I have Python in Sublime text when I paste it into Git Bash (I'm running Git Bash inside ConEmu), the line breaks are ignored. I know about execfile(),…
Dave Molinero
  • 474
  • 1
  • 4
  • 13
9
votes
4 answers

disable the intent filter from android manifest programmatically

In my activity I have a web view and in manifest.xml I have declared intent filter like this
9
votes
1 answer

Copy paste is not working in command prompt neither right click or keyboard shortcuts in Windows 10

Win 10 copy paste is not working in cmd from right click neither keyboard short cuts as well. Nothing happens if I try to paste some text in prompt. Reason is unknown to me. Any help?
Ali Mamoon
  • 111
  • 1
  • 1
  • 8
9
votes
1 answer

How to avoid WebKit contentEditable copy-paste resulting in unwanted CSS?

I have a
that has contentEditable="true". When I copy-paste content within the editable div, the pasted text gets wrapped into a lot of unwanted CSS. For example, this:

text text

becomes:

Martin Tajur
  • 5,242
  • 1
  • 20
  • 15
9
votes
0 answers

Is it possible to store multiple objects in the clipboard in Ubuntu?

Is there a tool in Ubuntu to help copy multiple objects and have the ability to paste any of the items later on? For example: Select obj1: press Ctrl+C+1 Select obj2: press Ctrl+C+2 Select obj2: press Ctrl+C+2 While pasting, press Ctrl+V+1 to…
wittyameta
  • 375
  • 1
  • 3
  • 16
9
votes
3 answers

Failed to connect to the VirtualBox kernel service while enabling copy-paste

I try to enable copy-paste functionality in the Oracle Virtual Box. In order to accomplish this, I run: sudo /usr/bin/VBoxClient --clipboard and I get Failed to connect to the VirtualBox kernel service What does this mean and how can I solve it?…
yonutix
  • 1,964
  • 1
  • 22
  • 51
9
votes
1 answer

event.clipboardData is undefined

I am trying to access the paste event in the browser and override it. However event.clipboardData is undefined. Currently all I have is this: function handlePaste (event) { event.preventDefault(); console.log("Handling paste"); …
user1724416
  • 914
  • 2
  • 11
  • 24
9
votes
3 answers

Excel VBA How to detect if something was pasted in a Worksheet

I'll start by saying that my experience with Excel and VBA is limited to what I saw in school. I have programming experience, but in other languages. I have a file that I get every week. The structure of this file is always the same: ID, Name, Date,…
Nahbyr
  • 489
  • 2
  • 4
  • 17
9
votes
3 answers

How to allow copy and paste from an ionic webview?

I am using ionic and cordova to build a hybrid application. However, I can't copy text from any of my webviews. From my Android phone or from the browser, copying text does not work. Selecting text and dragging the pointer does nothing. This occurs…
Matt
  • 800
  • 1
  • 7
  • 15
9
votes
2 answers

VBA copy rows that meet criteria to another sheet

I am new to VBA...I want to copy a row from Sheet2 to Sheet1 if the first cell in this row says X and then do so for all the rows that meet this criteria. I have an error in the If condition...I don't know how to fix it. Sub…
Anca
  • 101
  • 1
  • 1
  • 4
9
votes
1 answer

How to get the value of a field during the paste event?

I have a text field that I'm binding the paste event to using JQuery. When I first paste something into the form field and log its val() it returns a blank string. Likewise, if I paste again into the field, it returns the previous value before…
Soviut
  • 88,194
  • 49
  • 192
  • 260
9
votes
3 answers

Java SystemClipboard contains additional bytes

I have to following setting: Ubuntu 12.04, Mathematica 9 and IntelliJIDEA 12. Every time I copy some text from Mathematica and paste it into IDEA, there are a lot of additional bytes at the end of the pasted text. What first appeared to be a bug in…
halirutan
  • 4,281
  • 18
  • 44
9
votes
2 answers

User-Select still copies to clipboard

I just discovered the user-select attribute of CSS. I was wanting to find a way for people to copy the displayed results on a page, without copying the headings as well (and a few other things). Each browser is a bit different when they attempt to…
EnigmaRM
  • 7,523
  • 11
  • 46
  • 72
9
votes
5 answers

Paste multi-line string into GVIM at cursor position

When I copy a two-line text from (e.g.) a PDF opened in Acrobat Reader into gvim using CTRL-V, the text is inserted above the line in gvim where I was positioned, instead of at the position where my cursor is. (scenario: I want to copy a document…
Rabarberski
  • 23,854
  • 21
  • 74
  • 96
9
votes
1 answer

Android - prevent edittext copy/paste and double tap select all

I am looking for a solution to disable the long press edit menu(copy/paste) and also the double-tap select-all function for an edittext box. I have read through a few solutions on here to this issue in similar fashion, however, need to go a step…
Hunter23
  • 195
  • 4
  • 11