In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to record macros in NotePad++. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Problem description:
Want to enter the following
three hundred and one。
three hundred and two。
three hundred and three。
....
three hundred and ninety nine。
It's annoying to enter a lot of numbers on each line, so I think of the macro function of Notepad++.
Solution:
The goal is to enter a number such as 3 and write 300 automatically. To 399. Everything in between
Recording Macro-Digital sequence 10--F9
(1) enter the number first, for example: 18 # 1 is the first character to change the line, and the cursor is placed immediately after 8.
(2) start recording the macro, hold down the Shift+ Home key, select all the contents of the change cursor, and then press Ctrl+C to copy.
(3) press the end key to place the cursor at the end of the line, press enter once, and then press Ctrl+V to paste the original copy for 9 times.
(4) at present, the cursor is after the 8 of the last 18, enter 9 and ".", press the up key, then enter 8 and ".", press the up key, and so on to enter 0 and "."
(5) stop recording, save the recording macro, fill in the number sequence 10 on the Name, and select F9 as the shortcut key.
Since this digital sequence 10 macro has been made, can achieve the function: input digital xx, automatically completed from xx0. To xx9. It's all out.
The same idea can record macros-- digital sequence 100--F10.
(1) enter the number first, for example: 3line 3 is the first character of the line change, and the cursor is placed immediately after 3.
(2) start recording the macro, hold down the Shift+ Home key, select all the contents of the change cursor, and then press Ctrl+C to copy.
(3) press the end key to place the cursor at the end of the line, press enter once, and then press Ctrl+V to paste the original copy for 9 times.
(4) at present, the cursor is after the 3 of the last 3, enter 9, press the up key, then enter 8, press the up key, and so on to enter 0.
(5) at present, the cursor is behind 30, press F9 to run the macro of the number sequence 10, move the cursor behind 31, press F9, and so on, until the cursor moves behind 39, press F9
(6) stop recording, save the recording macro, fill in the number sequence 100 on the Name, and select F10 as the shortcut key.
Since this digital sequence 100 of the macro has been made, can achieve the function: input digital xx, automatically completed from the xx00. To xx99. It's all out.
The above is all the content of the article "how to record Macros in NotePad++". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.