Questions tagged [clipboard]

The clipboard is a software facility that can be used for short-term data storage and/or data transfer between documents or applications, via copy and paste operations.

It is most commonly a part of a GUI environment and is usually implemented as an anonymous, temporary block of memory that can be accessed from most or all programs within the environment via defined programming interfaces. A typical application accesses clipboard functionality by mapping user input (keybindings, menu selections, etc.) to these interfaces.

The semantics of the clipboard facility varies from one operating environment to another, and can also vary between versions of the same system. They can sometimes be changed programmatically or by user preference. This can lead to user frustration when switching between environments with different clipboard semantics particularly as copy and paste operations often become embedded in the user's muscle memory.

Most environments support a single clipboard transaction. Each cut or copy overwrites the previous contents. Normally, paste operations copy the contents, leaving the contents available in the clipboard for further pasting operations.

http://en.wikipedia.org/wiki/Clipboard_(software)

4050 questions
2
votes
1 answer

Copy Excel RangeSelection to array in Windows Application

Thanks for any help in advance :) Context I am using SpreadsheetGear within my Windows Application and there are certain cases where a user will want to copy data from an open Excel application and paste the two dimensional grid into the…
Jake Smith
  • 2,332
  • 1
  • 30
  • 68
2
votes
1 answer

Copy and paste jpg/png to clipboard in android

I would like to copy image from my application and would like to paste in SMS application(Now SMS would be converted to MMS). I am implementing on android OS version 4.0 . I have done as per follows , Created jpg image from the EditText using below…
Nirav Shah
  • 2,064
  • 5
  • 24
  • 34
2
votes
2 answers

Retaining clipboard content during code execution

This seems like it should be a simple problem but I've been unable to solve it. I have a program I'm writing where the user is babied through these steps: Step 1: Go to another spreadsheet and copy the content Step 2: Come back to my spreadsheet and…
MisterWeary
  • 605
  • 1
  • 9
  • 16
2
votes
3 answers

Emacs 23 fails to send Unicode combining diacritics through XWin -clipboard

Emacs 23 is running on a remote Linux box. It displays its frame on this local Windows box, using Cygwin's X server. I used to be able to copy-paste any text from Emacs to any Windows application. Since after I upgraded from release 22 to 23,…
JB.
  • 40,344
  • 12
  • 79
  • 106
2
votes
1 answer

How do I remove Excel copy focus with C#

I created a small app using .NET framework 4 which processes info copied from an Excel spreadsheet and saves the processed data to the clipboard. The problem is that when the app finishes, Excel's focus is still on the cell from which the data was…
valentasm
  • 2,137
  • 23
  • 24
2
votes
1 answer

Unexpected/weird results using OLE clipboard and classic clipboard, or do I miss something?

I'm trying to do the following trick: I have IDataObject* to be set into the clipboard, so I'm using OleSetClipboard() to set it into the clipboard. I have another CLIPFORMAT I want to add to the clipboard, but I can't do it with OleSetClipboard()…
TCS
  • 5,790
  • 5
  • 54
  • 86
2
votes
0 answers

Detect difference between Cut and Copy in Swing

I'm using Java 6, it's highly unlikely we'll go to Java 7. My Swing application should handle pasting files cut or copied from external sources (be it Windows Explorer, Free Commander, or what have you...) It works pretty well, with one important…
Mad Max
  • 51
  • 4
2
votes
2 answers

Flex mobile Copy to clipboard doesn't work on iOS, but works on emulator

I'm using this code in a Flex 4.6 mobile project for ipad. It works in the emulator, but on the ipad device, nothing is set. Any suggestions? Can you copy text to the clipboard on iOs? System.setClipboard('some text');
stevemcl
  • 367
  • 1
  • 3
  • 11
2
votes
2 answers

Get clipboard into Watch window when Debugging VBA

I'm running a macro on a word document. After doing a Selection.Copy and running on, while debugging, I want to be able to see what was actually copied, and if it was mistakenly replaced. Is there a way to "watch" Windows' clipboard?
JNF
  • 3,696
  • 3
  • 31
  • 64
2
votes
0 answers

iOS Copy to Clipboard from Browser

So a while back I was looking into a method of programatically copying something to the clipboard from a mobile website. It seemed impossible without using Flash in some way, which is of course not an option for iOS. Then I came across this site…
2
votes
1 answer

Highcharts, export/copy image to clipboard

I need to copy highchart to clipboard as image, how i can do that? Ther's export function build-in but it shows window prompt to open/download but i want to right click on chart (or use 'export' button in right upper corner) and next choose 'copy…
breq
  • 24,412
  • 26
  • 65
  • 106
2
votes
6 answers

Can an app use the clipboard for its own purposes? (read: who owns the clipboard?)

In PowerBuilder's IDE, the code autocomplete feature uses the clipboard to communicate the completed text to the code window. By doing so, it overrides whatever was stored on the clipboard before. So, if you had the winning numbers of the next…
Eran
  • 21,632
  • 6
  • 56
  • 89
2
votes
1 answer

Copy and Paste from excel to windows form

I have made use of the _KeyDown function in my windows form: if ((e.KeyCode == Keys.V) && (e.Modifiers == Keys.Control)) { // do stuff } and then have used to get the copied data: string[] clipboardRows =…
Mark W
  • 85
  • 2
  • 11
2
votes
1 answer

Converting a pointer into a MemoryStream?

I am trying to fetch a Device Independent Bitmap from the clipboard. I am well-aware that this can be done through the Clipboard.GetData function inbuilt in the .NET Framework, but since it is very buggy (as documented many places on the web), I…
Mathias Lykkegaard Lorenzen
  • 15,031
  • 23
  • 100
  • 187
2
votes
1 answer

Copy Webpage to Clipboard automatically

Is it posible to copy a web page (whatever I see, not the source) onto a clipboard automatically (without using ctrl+c), using python / javascript. Thanks in advance :)
1 2 3
99
100