Home Page
   
 
Home
Features
Screen Shots
Requirements
Download
Ordering
Support
Notes
Online Help
About Me
 
Other Items
Using PasteWindow and PasteFlow Back

The default Paste function (if you just press ctrl-v) in Vista is PasteOverlay which uses the layout of the data in the clipboard as a guide showing the program where to paste the data on the screen. This is often what you might want on the mainframe when pasting data into the text editor, or into multiple fields in a form (after copying the data from the same previosly filled-out form).

But sometimes you might want to grab data from Window sources, such as notepad or MS Word. Let's say we have the following text in the clipboard:

This is text that was originally entered in a PC program which wraps the text around, such as notepad, MS Word, or maybe your email system. The text has no carriage returns in each paragraph, so it appears to Vista as a single line. Vista normally works by pasting without wrapping, so when pasting a long line such as this, you'll only see the first portion of the text appear - and the rest is lost to the right.

A new paragraph would cause a new line to appear, along with multiple carriage returns such as the ones above to separate the paragraphs. This second paragraph would also normally paste only the first portion of the line, and the rest would be lost.

If we use the default PasteOverlay function, we get this:

As you can see, only the first portion of each line is visible. But if we first tell Vista where to wrap the text, by drawing a window such as this:

Then we can use the PasteWindow function (ctrl-w by default), which should produce the following:

Now we can also specify any size window we want, such as:

Which results in this:

And if you use the PasteFlow option (available from the Edit/Paste-Functions) menu item, the same wrapping occurs, but extra carriage returns and spaces are removed. This function is especially useful when you have a list of items (maybe short items such as tape volsers or SMPE ptf numbers) and you want to convert them to a more compact format.

   
  Home | Features | Screen Samples | Download | Requirements
Ordering | Tech Support | Notes | Online Help | About Me | Other Items

Page Last Updated 05/29/2023
Contact support@tombrennansoftware.com