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
1 answer

CTRL+ C how much can I copy

Maybe it's answered somewhere but I cant find it. How much can the CTRL + C copy? For example I wanna copy a 5GB text and paste it somewhere else. Can I? How much is the data buffer?
Killer B
  • 49
  • 2
  • 9
1
vote
2 answers

Converting a Windows .cpp file for Unix system?

I have a .cpp file that I wrote on my Windows 8 computer and I am trying to paste its code into my schools Unix based system via Putty SSH client. The editor that is used on the Unix machines is the Vi editor. When I copy all the code from my .cpp…
oneCoderToRuleThemAll
  • 834
  • 2
  • 12
  • 33
1
vote
1 answer

C++, buffer carrying stored statement using Ctrl+C

I want to make a simple windows32 console application using c++ that takes what is stored in the CTRL+C buffer and copies it in a char array or a string. Example: I select the word "Hello", I press CTRL+C and then the program put the word "Hello"…
1
vote
1 answer

How to override copy-paste functionality in Windows/Linux?

I want to override the copy-paste functionality in either Windows/Linux. How can I do that? Most applications support simple copy-paste functionality, where the text copied is the one that is currently selected. I want to modify this functionality.…
Ankit
  • 6,772
  • 11
  • 48
  • 84
1
vote
2 answers

Problems copy files to windows ce from windows 7

I'm having trouble copying binary files to a Windows CE computer from a Windows 7 64bit PC. All I'm using is Window Explorer to connect to the Windows CE computer through ethernet. The file size increases after the copy. I've done this through…
user2076574
  • 166
  • 3
  • 12
1
vote
1 answer

Copy/Paste n Times Based on Other Cell Values

I've run in to a wall with this. Despite posts on SO like this one that is very similar or this one on Kioskea, I just cannot connect the dots in my head between filtering cells and copying based on a formula result that's needed to make this work.…
UserUnknown
  • 172
  • 2
  • 15
1
vote
1 answer

How to copy and paste a cell value to another worksheet in the same workbook

Currently I am working on making a macro that needs does the following things. 1) It looks through the top row, returning a named column 2) It then selects this column 3) Then it loops through column looking for the first value greater than zero. 4)…
Snowblack
  • 25
  • 1
  • 2
  • 5
1
vote
3 answers

C++ program doesn't completely read huge input. Why?

I want to solve a programming contest task (C++ with XCode) which has a relatively big input (300 lines). When copying a test input into the console, it doesn't read it all. So I have written a minimalistic test program to simply read in 300…
RaFi
  • 11
  • 2
1
vote
0 answers

How to fix PHP (shell_)exec() permissions for copy pasting?

The following command executed in PHP's shell_exec() function: echo 'A' ; cp -v $original $destination ; echo 'B' ; whoami Will output ABapache, but nothing else. The copy command does not seem to be working. ($original and $destination are…
Kevin Van Ryckegem
  • 1,915
  • 3
  • 28
  • 55
1
vote
1 answer

Java: Cut item from JTree with lazy-deleting

I've implemented Drag'n'Drop and CCP on my JTree (I've created my Transferable and TransferHandler classes). By default Cut action (CTRL-X or SHIFT+DELETE keys) delete item from JTree (JTreeModel), but I want just to mark it with gray color and…
Chris Rea
  • 151
  • 2
  • 7
1
vote
1 answer

How to disallow copy/paste in a form?

I'm working on a chat app with Meteor and I don't want users to be able to copy/paste things into the form for obvious spam reasons. Is this possible? Here is the code I use to run the chat app: Javascript: // render all of our messages in the…
5AMWE5T
  • 841
  • 1
  • 9
  • 25
1
vote
1 answer

EXCEL VBA - Error when copying from another instance of Excel to active workbook

What I would like: I need to be able to copy only certain columns from another instance (Application) of excel that will be open, depending on the header. What I have so far: Sub Import_Data() Dim wb As Workbook Dim c As Range Dim headrng As…
Petay87
  • 1,700
  • 5
  • 24
  • 39
1
vote
1 answer

Copy & Paste items from one view to another within storyboard without referencing outlets?

When I copy and paste, (cmd-c, cmd-v) items from one view to another in Storyboard it also copies and pastes the items referencing outlets. Obviously, it's achievable by going in and deleting the referencing outlets one by one. Which is what I want…
LpLrich
  • 2,463
  • 2
  • 20
  • 31
1
vote
3 answers

How to copy paste from vim to gedit?

I am new in vim and i want to copy text from vim and paste in gedit. In vim I know copy paste by command mode and visual mode but from vim to gedit I have no idea.
Rituraj ratan
  • 10,260
  • 8
  • 34
  • 55
1
vote
2 answers

Inserting word content into a VSTO document level customization

I have a VSTO document level customization that performs specific functionality when opened from within our application. Basically, we open normal documents from inside of our application and I copy the content from the normal docx file into the…
Jesse Petronio
  • 693
  • 5
  • 11