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
1
vote
0 answers

Excel VBA paste the second item from clipboard

What I am trying to is that, I want to add multiple items into the clipboard then paste the second item when I press ctrl+q instead the first one. Here is my code but I'm getting the first one. Sub Macro1() ' ' Macro1 Macro ' ' Keyboard Shortcut:…
emrah
  • 140
  • 1
  • 7
1
vote
1 answer

How to turn off right click and ctrl+c behaviour in ASP .NET MVC WebApplication

I write a web application in ASP .NET MVC which will be used only by authorized users. I will configure machines(PCs, tablets) they will use. I need to protect personal data in webapplication from stealing it. I am obligated by law to prevent those…
Employee
  • 149
  • 1
  • 1
  • 6
1
vote
1 answer

CTRL+C not copying to clipboard after I set ownership of clipboard to StringSelection

I use StringSelection and clipbaord methods to paste a string. StringSelection selection = new StringSelection("myString"); Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); clipboard.setContents(selection,…
1
vote
2 answers

Vim pastes above line content until releasing button

We can copy line with yy and paste it using p commands. I have seen that it is possible to move cursor to empty line, press some button and it pastes content of above line until button is released. Who can share that key combination? I don't want to…
Ashot
  • 10,807
  • 14
  • 66
  • 117
1
vote
1 answer

Echo doesn't show copy-pasted text from txt file to form text area PHP

This is maybe a stupid problem to solve but i've looked around and i can't manage to find a viable solution. I'm making a simple form where: the user write some text into text-areas the php must echo back those data into a simple html code to copy…
1
vote
2 answers

How to remove text formatting when pasting from clipboard on Android

Right now I am working on an Android application that requires allowing the user to cut copy and paste onto an editText fields. But when I copy a formatted string from other places (i.e. a string that is underlined) and paste it on to the editText…
Alice Smith
  • 11
  • 1
  • 4
1
vote
2 answers

Copy and Paste rich text editor adds extra markup and large fonts with tinymce

Is there a way to prevent styles and large fonts on a paste in tinymce? I have the content wrapped on display in the notes section below but tags still show increased fonts. I'd like just simple HTML like bold, bullets, and links. .notes { …
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
1
vote
2 answers

Where is the clipboard data stored in bash?

In bash, I can type Ctrl+u it "cuts" text behind my cursor. Then when I press Ctrl+y it pastes the text back. Is there a file where the cut text is stored?
Drew LeSueur
  • 19,185
  • 29
  • 89
  • 106
1
vote
4 answers

How to paste a file from clip board in VFP?

I have a screen where I can drag-and-drop files from a Windows folder to a list box. Once the file is drag-and-dropped, the list box displays the file path. I want to be able to drag-and-drop the file directly from Outlook/Gmail. If the…
Shafraz Khahir
  • 145
  • 1
  • 2
  • 7
1
vote
0 answers

Copy and paste an image URL doesn't work on many mobile devices. Is there a work-around it?

This question has been raised many times but I couldn't find any concrete sample on how to solve the problem. As you know many mobile devices, especially those running iOS don't allow users to copy an image from a web page and paste its URL in an…
Gloria
  • 1,305
  • 5
  • 22
  • 57
1
vote
3 answers

Copy and Paste in VBA using relative references? (Error Code 1004)

New to this forum so sorry if this is off. I'm trying to do a simple copying of cell values from one worksheet in a book to another worksheet, but need to use relative cell references as the number of rows that will be copy/pasted changes depending…
user3956650
1
vote
1 answer

Can't import shapes from Word to PowerPoint 2013; works in Office 2010

I'm writing a PowerPoint macro that opens a Word document and imports every picture in the document to its own slide. Because I can't place the Word InlineShape objects directly in PowerPoint, apparently, I'm using the clipboard. The relevant code…
phenry
  • 2,047
  • 2
  • 26
  • 32
1
vote
1 answer

What is the difference between copy and paste a file using command line terminal and GUI copy paste?

What is the difference between copy and paste a file using command line terminal and GUI copy paste ? Which one is fast ? I think both are same because of same program will execute in background .
Usr1
  • 369
  • 1
  • 6
  • 15
1
vote
2 answers

UITableViewCell with selectable/copyable text that also detects URLs on the iPhone

I have a problem. Part of my app requires text to be shown in a table. The text needs to be selectable/copyable (but not editable) and any URLs within the text need to be highlighted and and when tapped allow me to take that URL and open my embedded…
Jasarien
  • 58,279
  • 31
  • 157
  • 188
1
vote
0 answers

Copy/paste bar not showing up for EditText

I have an EditText in my layout that works fine, except for one thing: when I long press on existing text, the contextual action bar with the Select All, Copy, and Cut options doesn't appear at the top of the screen. I get the little Paste button at…
gajopv
  • 11
  • 2