Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Operation

Status
Not open for further replies.

TTCC

Programmer
Sep 16, 2000
2
HK
In almost all the occasions, i.e. under word, powerpoint, browsers (netscape, IE), .pdf files and etc., we can highlight the content and Cltr-C or select copy by right click the mouse or in the edit of the menu bar. What I wonder to know is, how can I know where the highlighted contents are? Are those stuff stored in some temporary files? What is the scenario such Copy-and-Paste process (After highlighting the text, is a temp file, form? At this time, can I delete this temp file if I know where the file is located?)? [sig][/sig]
 
That data is stored on one of the Windows clipboards. There are several and Windows picks the appropriate one based on the type of data you are trying to store.

If you highlight some text and press Ctrl+C you copy the data to a text clipboard. It will remain there until you or an application overwrites it. While that data is on hold you can press the Print Screen key, which will copy the graphic content of your screen to a graphic clipboard. The contents of the text clipboard won't be affected.

The only instance where a text or graphic copy would cause a file write would be if you copied a large amount of data, say a multi-megabyte bitmap, to the clipboard, in which case Windows would probably be forced to store it in the swap file.

May I ask what prompted your question? If you have a need to view or manipulate the clipboard contents, most modern programming languages provide ways to accomplish that task.
[sig]<p> <br><a href=mailto: > </a><br><a href= plain black box</a><br>Don't sit down. It's time to dig another one.[/sig]
 
You can view the contents of the Clipboards by selecting:

Start
Programs
Accessories
Clipboard Viewer.

If you have more than one clipboard with contents, click on Window (from the tool bar) and select the clipboard you want to look at.

This should work with any recent version of windows -- 98, NT, etc.

Hope this helps. [sig]<p>Larry De Laruelle<br><a href=mailto:larry1de@yahoo.com>larry1de@yahoo.com</a><br><a href= > </a><br> [/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top