Section 6.7. Moving Data Between Documents: All Versions


6.7. Moving Data Between Documents: All Versions

You can't paste a picture into your Web browser, and you can't paste MIDI music into your word processor. But you can put graphics into your word processor, paste movies into your database, insert text into Photoshop, and combine a surprising variety of seemingly dissimilar kinds of data. And you can transfer text from Web pages, email messages, and word processing documents to other email and word processing files; in fact, that's one of the most frequently performed tasks in all of computing.

6.7.1. Cut, Copy, and Paste

Most experienced PC users have learned to quickly trigger the Cut, Copy, and Paste commands from the keyboardwithout even thinking. Figure 6-3 provides a recap.

Figure 6-3. Suppose you want to email some text from a Web page to a friend .
Left: Start by dragging through it and then choosing Copy from the shortcut menu (or choosing Edit Copy) .
Right: Now switch to your email program and paste it into an outgoing message .


Bear in mind that you can cut and copy highlighted material in any of three ways. First, you can use the Cut and Copy commands in the Edit menu; second, you can press Ctrl+X (for Cut) or Ctrl+C (for Copy); and third, you can right-click the highlighted material and, from the shortcut menu, choose Cut or Copy.

When you do so, Windows memorizes the highlighted material, stashing it on an invisible Clipboard. If you choose Copy, nothing visible happens; if you choose Cut, the highlighted material disappears from the original document.

Pasting copied or cut material, once again, is something you can do either from a menu (choose Edit Paste), from the shortcut menu (right-click and choose Paste), or from the keyboard (press Ctrl+V).

The most recently cut or copied material remains on your Clipboard even after you paste, making it possible to paste the same blob repeatedly. Such a trick can be useful when, for example, you've designed a business card in your drawing program and want to duplicate it enough times to fill a letter- sized printout. On the other hand, whenever you next copy or cut something, whatever was previously on the Clipboard is lost forever.

6.7.2. Drag-and-Drop

As useful and popular as it is, the Copy/Paste routine doesn't win any awards for speed; after all, it requires four steps. In many cases, you can replace that routine with the far more direct (and enjoyable) drag-and-drop method. Figure 6-4 illustrates how it works.

Figure 6-4. You can drag highlighted text (left) to another place in the documentor a different window or program (right) .



Tip: To drag highlighted material offscreen , drag the cursor until it approaches the top or bottom edge of the window. The document scrolls automatically; as you approach the destination, jerk the mouse away from the edge of the window to stop the scrolling.

Several of the built-in Windows programs work with the drag-and-drop technique, including WordPad and Mail. Most popular commercial programs offer the drag-and-drop feature, too, including email programs and word processors, AOL, Microsoft Office programs, and so on.


Note: Scrap filesbits of text or graphics that you can drag to the desktop for reuse laterno longer exist in Windows Vista.

As illustrated in Figure 6-4, drag-and-drop is ideal for transferring material between windows or between programs. It's especially useful when you've already copied something valuable to your Clipboard, since drag-and-drop doesn't involve (and doesn't erase) the Clipboard.

Its most popular use, however, is rearranging the text in a single document. In, say, Word or WordPad, you can rearrange entire sections, paragraphs, sentences, or even individual letters , just by dragging thema terrific editing technique.


Tip: Using drag-and-drop to move highlighted text within a document also deletes the text from its original location. By pressing Ctrl as you drag, however, you make a copy of the highlighted text.

6.7.3. Export/Import

When it comes to transferring large chunks of information from one program to anotherespecially address books, spreadsheet cells , and database recordsnone of the data-transfer methods described so far in this chapter does the trick. For such purposes, use the Export and Import commands found in the File menu of almost every database, spreadsheet, email, and address-book program.

These Export/Import commands aren't part of Windows, so the manuals or help screens of the applications in question should be your source for instructions. For now, however, the power and convenience of this feature are worth noting. Because of these commands, your four years ' worth of collected names and addresses in, say, an old address-book program can find its way into a newer program, such as Palm Desktop, in a matter of minutes.

FREQUENTLY ASKED QUESTION
When Formatting Is Lost

How come pasted text doesn't always look the same as what I copied?

When you copy text from Internet Explorer, for example, and then paste it into another program, such as Word, you may be alarmed to note that the formatting of that text (bold, italic, font size , font color , and so on) doesn't reappear intact. In fact, the pasted material may not even inherit the current font settings in the word processor. There could be several reasons for this problem.

For example, not every program offers text formattingNotepad among them. And the Copy command in some programs (such as Web browsers) doesn't pick up the formatting along with the text. So when you copy something from Internet Explorer and paste it into Word or WordPad, you may get plain unformatted text. (There is some good news along these lines, however. Word maintains formatting pasted from the latest Internet Explorer.)

Finally, a note on text wrapping . Thanks to limitations built into the architecture of the Internet, email messages aren't like word processor documents. The text doesn't flow continuously from one line of a paragraph to the next, reflowing as you adjust the window size. Instead, email programs insert a press of the Enter key at the end of each line within a paragraph.

Most of the time, you don't even notice that your messages consist of dozens of one-line "paragraphs." When you see them in the email program, you can't tell the difference. But if you paste an email message into a word processor, the difference becomes painfully apparentespecially if you then attempt to adjust the margins.

To fix the text, delete the invisible carriage return at the end of each line. (Veteran PC users sometimes use the word processor's search-and-replace function for this purpose.) Or, if you just need a quick look, reduce the point size (or widen the margin) until the text no longer breaks oddly.





Windows Vista. The Missing Manual
Windows Vista: The Missing Manual
ISBN: 0596528272
EAN: 2147483647
Year: 2006
Pages: 284
Authors: David Pogue

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net