Jump to content
Macro Express Forums

Save "control A" Text


Amerifax-Bob

Recommended Posts

I'm trying to save text from one page that I sent to the buffer using "Control A". I want to place it on a different page using "Control V", paste. Problem is I first have to do a "Control A" to the second page, select text to delete, before I can do my paste. Probably "Control A" would take care of my problem. But I would rather try to do it using variables or possibly work with multiple clipboard items if Macro Express is capable. I have a book called Macro Express Explained which is very helpful but I must be missing the point when I try to use variables for this problem. Any help would be appreciated

 

Bob

Link to comment
Share on other sites

Do you mean "Control C"? Ctrl-c copies to the clipboard. Ctrl-a normally just highlights all the text.

 

It sounds like you want to copy several pieces of information from one window or dialog into another. The macro below outlines a method to accomplish this.

 

We do not have enough information to know what you need to do to highlight information from the input dialog. You will also have to fill in the commands to switch from the input dialog to the output dialog.

 

  // <<< Do something to highlight the first piece of information >>>
 // Copy it to the clipboard
 Text Type: <CTRLD>c<CTRLU>
 // Copy it to the clipboard
 Variable Set String %T1% from Clipboard
 
 // <<< Do something to highlight the second piece of information >>>
 // Copy it to the clipboard
 Text Type: <CTRLD>c<CTRLU>
 // Copy from the clipboard to T2
 Variable Set String %T2% from Clipboard
 
 // <<< Do something to highlight the third piece of information >>>
 // Copy it to the clipboard
 Text Type: <CTRLD>c<CTRLU>
 // Copy from the clipboard to T3
 Variable Set String %T3% from Clipboard
 
 // <<< Repeat as needed >>>
 
 // <<< Switch focus from input window to output window >>>
 
 // <<< Move to location to accept first piece of information >>>
 // Type the first piece of information
 Text Type: %T1%
 
 // <<< Move to location to accept second piece of information >>>
 // Type the second piece of information
 Text Type: %T2%
 
 // <<< Move to location to accept third piece of information >>>
 // Type the third piece of information
 Text Type: %T3%
 
 // <<< Repeat as needed >>>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...