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

Excel vba saving pre copied data to a variable

Been learning vba for a while now and have managed to find and/or work out solutions to most hiccups I get into. However one project I'm working on at the moment raised a question. Essentially a chunk of data is copied from one sheet (before the…
matt
  • 15
  • 1
  • 4
1
vote
2 answers

Android - how to paste File.txt content into adb Shell

I am writing a small code to search for a number in whatsapp and send a text message. I am able to send text message if I type in the script itself, but I wanted to paste the message from a file. Is there any way to copy the content from a file…
1
vote
1 answer

How can I keep the orginal copy and paste function if I create a right click menu?

I just started learn about right click menu. I would like to use it for some basic funtions like youtube search, image search etc. But the problem is, when I override the default browser right click menu, I can say bye-bye for the copy and paste…
1
vote
0 answers

IPython's magic %paste silently fails with ← symbol

IPython's magic %paste silently ignored everything in my clipboard under certain circumstances. The causal agent: a commented ← symbol. This is automatically generated in Google docs by typing <-- and space. Comparison of outcomes, when copy-pasting…
hello_there_andy
  • 2,039
  • 2
  • 21
  • 51
1
vote
1 answer

Accessing Android Default Paste Option?

In Android using Clipboard classes I can get copied data. But Is there any way to access the Android default paste option. So,I want display the message list (linked with paste option) which are copied in my application.So user can select multiple…
Anil Ravsaheb Ghodake
  • 1,587
  • 2
  • 27
  • 45
1
vote
2 answers

Can you Make CSS Styles Stay When Copied/pasted?

Is it possible to make it so that when a user copies/pastes something onto their clipboard, it's CSS styles remain?
1
vote
1 answer

Paste event for a DisplayObjectContainer not registered in AS3

I have a display object container and I am trying to add a paste event to it. But the event is not being registered. The documentation at liveDocs mentions that classes that derive from Interactive objects can dispatch paste event but I dont…
intoTHEwild
  • 448
  • 7
  • 24
1
vote
3 answers

Cocoa Virtual Keystrokes Pain

I'm writing an application to respond on a hotkey by copying highlighted text into NSPasteboard's generalPasteboard. After looking around here for a solution for sending virtual keystrokes, I found this: How to send a "Cmd-C" keystroke to the active…
bhargav
  • 164
  • 8
1
vote
2 answers

Select, Copy and Paste Images

What I want my app to do: 1 - Select an area of Image and get the coordinates. This code below should do this: import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.swing.*; public class ScreenCaptureRectangle…
1
vote
2 answers

Android restrict copy, paste in View between apps

I want restrict copy, paste between my app and another app. It means data copy from my app only paste in my app. And Third App can't capture this. Now I have a solution is create wrapper for each EditText, Webview ... eveything can copy data. and…
Lights
  • 15
  • 8
1
vote
1 answer

Issue with Copying Data From One Sheet to Another

I developed a script by looping method to copy data from one sheet to another and then refresh the first field. The script works well except for one issue. Within the second sheet it is supposed to find the last non blank cell in column A (i.e. 'x')…
Vizzi
  • 15
  • 3
1
vote
0 answers

Copy issue to SharePoint UNC location

I'm trying to copy a zip file using command prompt from source to destination. Size of the zip file is 1.14 GB. COPY \Server1\DataFeeds\Dec\feed1.zip C:\Folder1 This works fine. I can see the zip file copied over to C:\Folder1 & it shows size…
DataPy
  • 209
  • 2
  • 10
1
vote
1 answer

Getting Unicode in copy and paste within emacs

I try to do copy and paste in emacs on a Mac but in the most recent version of gnu emacs (24.3.1) this does not work. Instead of Tesnière I get Tesni\350re. Is there some switch?
Stefan Müller
  • 274
  • 2
  • 13
1
vote
2 answers

vim, any way to copy'n paste, using the mouse, without using shift

I'm used to most X11 apps that copy'n paste with a simple middle mouse key. In vim I must remember to hold the shift key. Is there any way in vim to copy'n paste using the mouse without the shift key?
bitbucket
  • 1,171
  • 1
  • 9
  • 20
1
vote
2 answers

C#.NET file.copy directory path

Couple prerequisites to this question first. I'm not a native speaker, I started to learn C# today with almost no prior programming knowledge, I want to write windows form program that will copy files (graphics assets) that I include with the…
Forc3ofWill
  • 71
  • 1
  • 2
  • 9