search
HomeDevelopment ToolsnotepadDetailed explanation of the use of NotePad++ macros

The following tutorial column will introduce you to the use of NotePad macros. I hope it will be helpful to friends in need!

Detailed explanation of the use of NotePad++ macros

Problem description:

I want to enter the following content
301.
302.
303.
....
399.

It is quite annoying to enter a large number of numbers in each line, so I thought of Notepad’s macro function

Solution:


The goal is to enter a number such as 3 and automatically write 300. to 399.

Record Macro – Number Sequence 10 – F9

(1)
First enter the number, for example: 18, 1 is the first character of the line change, and the cursor is placed after 18 and 8. (2)Start recording the macro, hold down the Shift Home key, select all the contents of the changed line 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 once to paste the originally copied content, repeat 9 times.
(4)The cursor is currently behind the 8 in the last 18. Enter 9 and ".", press the up arrow key, then enter 8 and ".", and press Up arrow key, and so on until you enter 0 and "."
(5) to stop recording, save the recorded macro, fill in the number sequence 10 for Name, and select F9 for the shortcut key .
Since then, the macro for the number sequence 10 has been completed. The functions that can be realized are: input the number xx, and automatically complete the output from xx0. to xx9.

The same idea can be used to record a macro - number sequence 100 - F10

(1 )First enter a number, for example: 3, 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 changed line 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 once to paste the originally copied content, repeat 9 times.
(4)The cursor is currently behind the 3 of the last 3. Enter 9, press the up arrow key, then enter 8, press the up arrow key, and so on. Enter 0.
(5)The cursor is currently behind 30. Press F9 to run the macro of number sequence 10. Move the cursor to behind 31. Press F9 and so on until the cursor moves to After 39, press F9
(6) to stop recording, save the recorded macro, fill in the number sequence 100 for Name, and select F10 for the shortcut key.
Since then, the macro of the number sequence 100 has been completed. The functions that can be realized are: input the number xx, and after automatic completion, all the numbers from xx00. to xx99. will be output.                                                                                                        

The above is the detailed content of Detailed explanation of the use of NotePad++ macros. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete
The Notepad   Installation Process: A Detailed ExplanationThe Notepad Installation Process: A Detailed ExplanationApr 22, 2025 am 12:03 AM

Installation steps of Notepad: 1. Visit the official website to download the latest stable version; 2. Run the installation file and click "Next"; 3. Agree to the license agreement; 4. Select the installation path; 5. Select whether to create a desktop shortcut and start menu folder; 6. Complete the installation and start Notepad.

Notepad  : Exploring Pricing and LicensingNotepad : Exploring Pricing and LicensingApr 21, 2025 am 12:12 AM

Notepad is free and open source, and is licensed under the GPLv2. 1. Anyone can use and modify Notepad for free. 2. When used by the enterprise, any modification or extension must be published in GPLv2. 3. The use of commercial products must comply with GPLv2, including public source code.

Notepad  : The Nation Behind the EditorNotepad : The Nation Behind the EditorApr 20, 2025 am 12:08 AM

Notepad originatesfromFrance,createdbyDonHo.1)France'sfocusoneducationandtechnologyfostersinnovation,reflectedinNotepad 'sdesign.2)Theopen-sourceethosalignswithFrenchvaluesofsharingknowledge.3)EfficiencyandperformancearehallmarksofFrenchengineering

Notepad  : Understanding the Financial ModelNotepad : Understanding the Financial ModelApr 19, 2025 am 12:11 AM

Notepad sustainsitselffinanciallythroughdonations,sponsorships,andapluginecosystem.1)Donationsfromusersprovidethemainincome,keepingthetoolfreeandfosteringcommunity.2)Sponsorshipsfromcompaniesofferastableincomewhilemaintainingindependence.3)Apluginec

Accessing Notepad  : Exploring Free OptionsAccessing Notepad : Exploring Free OptionsApr 18, 2025 am 12:07 AM

Free alternatives to Notepad include VisualStudioCode, SublimeText, and Atom. 1. VisualStudioCode supports multiple languages ​​and enhances features through extensions. 2. SublimeText provides an evaluation version, which is fast and has a simple interface. 3.Atom is known for its high customizability and is suitable for personalized needs.

Notepad  : Examining the Free and Open Source NatureNotepad : Examining the Free and Open Source NatureApr 17, 2025 am 12:07 AM

Notepad is a free and open source text editor. 1) Free use lowers the entry threshold, 2) Open source features are implemented through the GPLv2 license, allowing the viewing, modifying and distributing source code, promoting community participation and software evolution.

How to use notepadHow to use notepadApr 16, 2025 pm 08:09 PM

Notepad is a free text editor for Windows, which offers a variety of features such as: 1) syntax highlighting, 2) autocomplete, 3) macro recording, 4) plug-in extensions, 5) customizable interfaces and settings.

How to automatically type notepadHow to automatically type notepadApr 16, 2025 pm 08:06 PM

Notepad itself does not have automatic layout function. We can use a third-party text editor, such as Sublime Text, to perform the following steps to achieve automatic typography: 1. Install and open the text editor. 2. Open the file that needs to be automatically typed. 3. Find and select the automatic layout function. 4. The editor will automatically type the text. 5. You can customize the layout rules as needed. Automatic typography can save time and ensure text consistency and professionalism.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.