Section 6.7. Moving Data Between Documents


6.7. Moving Data Between Documents

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.

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.




Windows Vista for Starters
Windows Vista for Starters: The Missing Manual
ISBN: 0596528264
EAN: 2147483647
Year: 2007
Pages: 175
Authors: David Pogue

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