5.8. Moving Data Between DocumentsYou can't paste a picture into your Web browser, and you can't paste MIDI music information 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. 5.8.1. Cut, Copy, and PasteYou 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 choose Cut or Copy from the shortcut menu, as shown in Figure 5-4. When you do so, the PC memorizes the highlighted material, socking it away on an invisible storage pad called the Clipboard. If you choose Copy, nothing visible happens; if you choose Cut, the highlighted material disappears from the original document. At this point, you must take it on faith that the Cut or Copy command actually worked. Pasting copied or cut material, once again, is something you can do either from a menu (choose Edit Paste), by right-clicking and choosing Paste from the shortcut menu, 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. Figure 5-4. Suppose you want to email some text on a Web page to a friend. Start by dragging through it and then choosing Copy from the shortcut menu (or choosing Edit Copy (left)). Now switch to your email program and paste it into an outgoing message (right).Tip: Folks who use a PC every day eventually learn to quickly trigger the Cut, Copy, and Paste commands from the keyboardwithout even thinking. 5.8.2. Drag-and-DropAs 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 5-5 illustrates how it works. Figure 5-5. Click in the middle of some highlighted text (left) and drag it into another place within the document (right), or into a different window or program.Note: 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 XP programs work with the drag-and-drop technique, including WordPad and Outlook Express. Most popular commercial programs offer the drag-and-drop feature, too, including email programs and word processors, America Online, Microsoft Office programs, and so on. As illustrated in Figure 5-5, 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. Note: 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.
5.8.2.1. Drag-and-drop to the desktopFigure 5-6 demonstrates how to drag text or graphics out of your document windows and directly onto the desktop. There, your dragged material becomes an icona Scrap file . Figure 5-6. A Scrap file will appear when you drag material out of the document window and onto the desktop. Its icon depends on the kind of material contained within, as shown here at left.When you drag a clipping from your desktop back into an application window, the material in that clipping reappears. Drag-and-drop, in other words, is a convenient and powerful feature; it lets you treat your desktop itself as a giant, computer-wide pasteboardan area where you can temporarily stash pieces of text or graphics as you work. You can drag a Scrap file onto a document's taskbar button, too. Don't release the mouse button yet. In a moment, the corresponding document window appears, so that you can continue your dragging operation until the cursor points to where you want the Scrap file to appear. Now release the mouse; the Scrap material appears in the document. Tip: Like any icon, you can rename a Scrap file to remind yourself what's in it. But if you forget, simply double-click it to open it in its original program. |