Copy and Paste Data as Files

When you copy text or files in Windows, the data goes into the Windows clipboard from where it is made available (for pasting) in as many different data formats as possible. When data is pasted into another application, the format that is closest to that application's native format is used, preserving as much of the original data as possible. So you can copy text from a PDF document and paste it into a Word document, and never think twice. Similarly you can copy images from the web browser and paste it into Microsoft Paint. You can even copy an image file from Windows Explorer and paste it as an image in Microsoft Word.

copy-paste

The flexibility is not present in the reverse direction, at least not natively. You cannot copy an image from a Word document or from a web page and paste it directly as a file in Windows Explorer. Windows is not capable of handlig that kind of transformation. You have to open an image editing program such as Paint or Photoshop or whatever, create a blank canvas, paste the image and save it as a file. Too much work.

Similarly, you cannot copy text from a document and paste it directly in Windows Explorer. Nope, not going to happen. You have to create a new blank document, paste the copied text and save it as a new file. How nice it would be if you could copy text or image, paste it into Windows Explorer and the copied data is magically transformed into the right type of file. This is possible with a tool called Paste as File (mirror site).

paste-as-file

Paste as File is a free utility that adds a "Paste As File" menu item to the context menu of Windows Explorer. As already explained, it allows you to paste the contents of the clipboard to a file based on the clipboard contents. If it is text, it will paste as a text file. It it’s an image, it will paste as an image file. The default extension is PNG, but you can save it in any of the supported formats: JPG, PCX, PNG, BMP, TGA, GIF and TIF.

Using Paste as File is easy. Whenever you need to copy text to a new text document, choose the “Paste as File” option in Explorer. You will be asked to enter a filename. The filename field is automatically populated with a default name along with a date stamp, so you can just hit Enter.

Same happens when pasting images, but this time you can rename the extension to any of the supported ones, and the tool will make the image conversion on-the-fly.

Although my context menu is crowded, I’m going to keep Paste as File. You never know when it might come handy.

No comments:

Post a Comment