Traditional Culture Encyclopedia - Photography and portraiture - How does the button wizard push one by one? Reading? The first line, and then cut and paste?

How does the button wizard push one by one? Reading? The first line, and then cut and paste?

Keystroke Wizard is a professional software for recording and executing keystrokes, which can be used to automate operations and simulate human operations. The operation of reading the first line of text line by line and cutting and pasting can be realized by the following steps:

set text = txt 1.text

Cut the text to the clipboard

Paste the text into txt2.text

Close txt 1

Where txt 1 and txt2 are the names of the text boxes, which can be changed as needed.

The above is the step that the key wizard reads the first line of text line by line, and then cuts and pastes it.

Click the Save button to save the script.

Open the "Record Macro" function of the key wizard and click the "Start Recording" button.

Click the Stop Recording button where you need to read the text line by line.

Open the "Run Macro" function in the Key Wizard and click the "Run" button.

In the pop-up dialog box, select the script file you just saved and click OK.

Complete the operation of reading the first line of text line by line and cutting and pasting.

Open the Key Wizard and click the New Script button to create a new script.

In the Script Editor, enter the following code: