clipboard

Get and Set clipboard with JavaScript

I have seen a few threads explaining that Flash can be used to set the clipboard data in Mozilla and Internet Explorer, it's easy, etc. For example http://stackoverflow.com/questions/316508/greasemonkey-javascript-copy-to-clipboard-button However, I would like to read the clipboard and remove certain items before setting it. Is there a...

Dump X clipboard data with GTK+ or PyGTK

How do I paste HTML data from the X clipboard using PyGTK/GTK+? I would need something like xclip, but with the ability to output clipboard data as HTML, not just as plain text. I'm using PyGTK, but I am not afraid of plain GTK+ in C. I've read GtkClipboard and PyGTK's gtk.Clipboard references, and I've found this question, but I would...

Edit>copy/paste implementation with perl / tk

I'm using Perl/Tk to build the GUI for an application. I plan on adding an edit menu to it with standard cut, copy, and paste options. Right here is where I realized that I've never actually interacted with the clipboard using perl. Can anyone give me a link to information about messing with clipboard in perl? Is there a perl module for...

Are ActiveX objects blocked from accessing the clipboard in Internet Explorer 7?

I have an ActiveX Object which uses Tidestone's Formula One (Verion 6). In it I have a button which lets the user copy the contents of the control to the Clipboard, but since Internet Explorer 7 was installed, all they get is a message which states "Unable to open clipboard" (even when running in compatibility mode). I know there's a s...

Selecting whole table/text for copying to clipboard

I have a htlm table with lots of data the user might want to copy to paste into Excel or whatever... Since it's big I want to help user selecting it, he can then copy & paste himself. I found this http://stackoverflow.com/questions/2044616/select-a-complete-table-with-javascript-to-be-copied-to-clipboard but it creates a security erro...

Clearing clipboard using VBScript

How to clear clipboard using VBScript on Win32? ...

Editing clipboard data when copying/pasting from a website

I have seen a few sites now where if you highlight text of an article, copy it, and then paste in they can add more text to it. Try copying and pasting a section of text from an article at http://belfasttelegraph.co.uk/ and you'll see what I mean - they add a link to the original article in the pasted text. How is this done? I'm assum...

Copy a ListView’s Items to the Clipboard in WPF C#

hello, how can I copy the selected items in a WPF's ListView with binding to db fields to the Clipboard? thank you Cristian ...

Why does this autohotkey script fail to consistently preserve clipboard contents?

Here's a snippet of a script of mine attempting to put extra Unicode awesomeness at my fingertips. ::\iff:: SendUnicode("⇔") return ; many rules later... SendUnicode(char){ ClipSaved := ClipboardAll ;;; ;apparently this is the only way AHK can handle Unicode. Transform, Clipboard, Unicode, %char% SendInput ^v ...

c# catch clipboard changes, wont work if form minimized to tray

Hi .. i have a problem using the "Catch Clipboard Events code" found on this link : http://stackoverflow.com/questions/621577/clipboard-event-c/2487582#2487582 the code works great only if the form stays in the foreground, not minimized to tray BUT: if you add a notifyicon and minimize the form to tray and turn the showintaskbar to fal...

Copy Text to Clipboard (Pasteboard) from UITextView via UIButton?

Is there any way to copy text from a TextView that has User Interaction is enabled to the clipboard via a UIButton? But instead of the user holding down his finger on the uitextview so that the apple standard window popups to copy I want the user to be able to do with just the click of the button .. (Whole text) Regards, ...

Silverlight 4 Clipboard Security Exception "access is not allowed" ?

Hey, I'm new in Silverlight and i am doing some tests. With my current test I try to display in real time the current Clipboard content. But there is a weird behaviors with this code : namespace SilverlightTest { public partial class MainPage : UserControl { private Timer _timer; public MainPage() { InitializeCompo...

Clipboard Debugging

In the olden times of .NET 1.1, I could use the SoapFormatter to find out exactly what was getting serialized when I copied an object into the clipboard. Fast forward to 2010, and I tried to do the same trick. It turns out the SoapFormatter does not support generics. Is there an alternative way to find out exactly what binary objects ...

How do I backup and restore the system clipboard in C#?

Hey everyone, I will do my best to explain in detail what I'm trying to achieve. I'm using C# with IntPtr window handles to perform a CTRL-C copy operation on an external application from my own C# application. I had to do this because there was no way of accessing the text directly using GET_TEXT. I'm then using the text content of t...

Copy string - Python

Ok guys I imagine this is easy but I can't seem to find how to copy a string. Simply COPY to the system like CTRL+C on a text. Basically I want to copy a string so I can for example, lets say, paste(ctrl+v). Sorry for such a trivial question, haha. ...

extending the delphi TEditCopy action to also copy listbox items to clipboard

I have a form with most of its functionality implemented using standard TAction. I have a menu, a toolbar, and some toobuttons. I have implemented clipboard copy/paste with no code at all, just using TEditCopy and TEditPaste actions. It works perfect in the TEdit and TMemo boxes I have. Now, I want it to work with TListBox, too. Specif...

How to place multiple formats on the clipboard?

For example, what Wordpad did when I press "Ctrl+C"? It places many different format to clipboard. So Notepad can get the text without any color or font...etc, and you still can keep the original format when you paste in another Wordpad window. The MSDN said I should call SetClipboardData multiple times. But it doesn't work at all. ...

java/swing: clipboard paste

I have a DropTargetListener setup to allow me to drag + drop strings into some tables of my Swing application -- on a drop, I parse the string and insert data into the table. I would like to do the same thing with a clipboard paste (Ctrl-V). What literature is there to explain how to handle clipboard pastes? I'm looking at some stuff fr...

Paste or Drop, copy data and release source?

I have an MFC DocView SDI App that receives data from either the clipboard or drag and drop. The data is in either CF_HDROP or CF_TEXT format. I have a COleDropTarget derived CMyDropTarget member m_dropTarget of my CMainFrame class. I have two member functions of CMyDropTarget; OnDrop(...) and OnPaste() which each call another member fun...

c# clipboard viewer... on firefox the event fires twice..

hi .. iam trying to use the code posted here http://stackoverflow.com/questions/621577/clipboard-event-c it does work really great, but while testing, i found out that when copying from some application as example firefox, you will get the event running twice, so if you are saving the copied text to a textfile, or writing them to a text...