clipboard

Is there a utility to cue up several strings for clipboard pasting (for step-by-step code presentations)?

I was at Apple WWDC in 2008 and all the engineers used some sort of utility to cue up 10-20 lines of code for easy pasting, one at a time. They used this to demonstrate code construction on the fly. It let them avoid having to actually type any Cocoa code in front of the large audiences. I'm looking for a similar utility for doing scree...

How can I access the iphone / ipod clipboard using python?

Hello, I want to modify a python application written for the ipod/iphone. It should copy a string into the clipboard so that I can use it in another application. Is it possible to access the iphone clipboard using python? Thanks in advance. UPDATE: Thanks for replying. A bit of background: The python program is a vocabulary program ru...

Screen Capture Feature Overrides

what i want to do is write an application in C# like "fraps" and other scren capture apps that when you press the "Print Screen" it saves the current screen as an image. What i thought of is that "i could create a background worker thread that checks the clipboard after x seconds and if there is an image, that is now in clipboard beca...

How to copy html source of a link to the clipboard and parse as a link in Lotus Notes?

How do you copy the html code of a link to the clipboard and parse it as a link in Lotus Notes? For example, in Javascript put <a href='http://www.stackoverflow.com'&gt;StackOverFlow&lt;/a&gt; into clipboard, and then parse it as a link in Lotus Notes while writing a new email. It should only show a link as StackOverFlow in new message....

command substitution but without breaking output into multiple arguments

Is there a way to do command substitution in BASH shell without breaking output into multiple arguments? I copy the path of some directory (from the location bar in a GUI file browser) to clipboard and then issue the following command, where the command xsel returns the clipboard content, which is the path of the directory in this case:...

Strangeness with clipboard access

I'm trying to write a small application that needs to use the clipboard for some functionality. Since I don't want to overwrite the user's data currently in the clipboard I decided to save it to memory, do my job and then write it back. The code below is a console application that is a barebones example of what I'm trying to do. The pro...

Terminal Services on Windows Mobile - "Paste" doesn't preserve punctuation?

I have here a Windows Mobile-based PDA (Mobile Compia M3 Sky) equipped with a barcode scanner. This barcode scanner works by reading the data from the scanner into the Clipboard and then simulating a Paste on whatever application is currently running. The problem is, when you're using Terminal Services from the device and you scan a bar...

iTextSharp - How to generate a RTF document in the ClipBoard instead of a file

I would like to generate a PDF or RTF document using iTextSharp library that can be copied to the clipboard, using the same code I use to generate the document on a file (FileStream). This way my application would give the user two options: generate to a file or to the clipboard. ...

Copy text to clipboard with iPhone SDK

Hi What is the best way to copy text to the iphone's clipboard in your application, their docs are sketchy and have way too many features than what i want... i just want to set a string as the users clipboard? Sample code would be so useful! ...

Why doesn't System.Windows.Forms.Clipboard.GetData/SetData work?

I'm trying to add copy/paste to an application that edits items. Having a copy of the data for a set of selected items, should enable duplicating them or transporting them to another instance of the program. I've tried this: const string MyClipboardFormat = "MyClipboardFormat" private void copyToolStripMenuItem_Click(object sender, Eve...

Accessing system clipboard in J2ME (Sony Ericsson)

Recent mobile phones have a clipboard where text can be copied from one application to another (E.g. from address book to file manager). Is there an API for placing things on this clipboard? I am targeting Sony Ericsson phones (including G705), so a Sony specific API would be acceptable if no portable API exists. ...

How can I make this code work in IE?

Hi, There are many tables in my HTML page. When a user hovers on a table, it should be automatically selected(onmouseover event) so that the user can copy(Ctrl+v) it to clipboard. I searched for a way in stackoverflow and ended up with the following code. But it only works in Firefox (window.getSelection() doesn't work in IE). How can I...

VC++ win32 API programming :how can i get the image out of the clipboard and display it in a winodws?

hi there ,i m new here . stackoverflow is a good place to help others and being helped. so i post my problem here.i'va asked quite a few people and find no answers. thanks Use SelectObject() on your memory DC to select the bitmap into it.This makes me puzzled. i read the msdn but still don't konw how to fill the second parameter of Se...

How can I get the standard iPhone Copy bubble to appear on a UIImage?

In iPhoto, I can simply hold my finger over an image to get a "Copy" popup (like the popup you see in text boxes). In my UIImageView's, this is not t he case. How can I enable it? ...

jQuery UI Dialog and Flash in IE

I've been trying to get Zero Clipboard and jQuery UI Dialog to play nice together, and it's proving to be rather difficult. Zero Clipboard allows copying to clipboard from Javascript by placing a transparent Flash movie over a button, so that the user clicks on the Flash when he tried to click the button. This works nicely and cross-bro...

Copy text to the client's clipboard using jQuery

The workflow is simple: You click inside a textarea. The text is copied to the client's clipboard. Display notice to the user. How do you do it? ...

C# - Overwrite Ctrl+C control

Im thinking to create a simple app to store what I have copied using Ctrl+C. Now I have Googled some interesting code: (I will rather post link to it as its huge) http://www.prilepi.com/221 (by http://www.liensberger.it/web/blog/?p=207) http://www.prilepi.com/222 Now the thing works fine, the only problem is that it totally overwrites...

Modifying clipboard contents on clipboard change

I'm doing this in C#, but, I guess, it isn't language specific problem... I've got some sample code on how to detect when the contents of the clipboard changes. Now I want to modify the text that just got copied (strip some tags) and replace clipboard text with fixed one. But if I SetDataObject() when I detect the clipboard contents ha...

Flash Clipboard Questions

I'd like to create a site similar to imgur.com that allows easy screenshot uploading. Because I don't know much about Flash yet, I'd like to know if the following is possible. Can I read bitmap clipboard data with a Flash applet embedded into a web page with the standard security profile? If 1. is possible, am I likely to run into any ...

What does Clipboard or SendKeys class has to do with WinForms?

Those two useful classes are both under the System.Windows.Forms reference.... I can't see much relation between those and winforms.. Does anybody know why they're there? thanks. ...