当前位置:网站首页>Notepad++ -- macro (record operation process)
Notepad++ -- macro (record operation process)
2022-06-29 19:46:00 【It blade out of sheath】
Original website :Notepad++-- macro ( Record the operation process )_IT A blog with a sharp blade -CSDN Blog
brief introduction
explain
This article introduces with examples Notepad++ The macro .
The function of macro
1. You can use macros to record your own behavior , And then automatically , Solve the problem of repetitive operation .
2. You can use macros to record shortcuts , It has a higher priority than the system shortcut key .
Shortcut keys for macros
Set up => Shortcut Management => macro
My shortcut | The original shortcut key | effect | describe |
alt+x | nothing | Select row ( Does not contain a leading white space character ) | Custom macros |
ctrl+d | nothing | Copy line | Custom macros |
Example
Example 1: Select the row and copy the row
macro => “ Start recording ”=> Press down “Home”=> Press down “Shift+End”=> Press down “Ctrl+C”=>
macro => “ Stop recording ”=> macro => “ Save recorded macro ”=> Define the shortcut key as “alt+x”
notes : above “ Start recording ” There are also corresponding icons in the toolbar .
Example 2: Input xxx0 To xxx9
(1) Enter the numbers well, for example :3,3 Is the first character of the line , The cursor is now 3 Back .
(2) Start recording macros => Home=> Shift+End( Select row )=> Ctrl+C
(3)End=> enter => Ctrl+V ( Over and over again 9 Time )( The cursor is currently at the last 3 Back )
(4) Input 9=> Up key => Input 8=> Up key => And so on to input 0
(5) Stop recording => Save recorded macro => Write your name as : Number sequence 10, Shortcut key selection F9.
Usage method : Input number xx, After automatic completion, start from xx0 To xx9 All output
Example 3: Input xxx00 To xxx99( Examples are required 2)
(1) Enter the numbers well, for example :3,3 Is the first character of the line , The cursor is now 3 Back .
(2) Start recording macros => Home=> Shift+End( Select row )=> Ctrl+C
(3)End=> enter => Ctrl+V ( Over and over again 9 Time )( The cursor is currently at the last 3 Back )
(4) Input 9=> Up key => Input 8=> Up key => And so on to input 0( The cursor is currently at 30 Back )
(5)F9( Example 2 Shortcut keys )=> Move the cursor to 31 Back => F9( And so on , Until the cursor moves to 39 Back , Press F9)
(6) Stop recording => Save recorded macro => Write your name as : Number sequence 100, Shortcut key selection F10.
Usage method : Input number xx, After automatic completion, start from xx00 To xx99 All output
边栏推荐
- Mba-day19 if P then q contradictory relation P and not Q
- 如何设置 Pod 到指定节点运行
- 3-2主机发现-三层发现
- AI scene Storage Optimization: yunzhisheng supercomputing platform storage practice based on juicefs
- 罗清启:高端家电已成红海?卡萨帝率先破局
- 正则表达式系列之手机号码正则
- 3-2 host discovery - layer 3 discovery
- Connaissance générale des paramètres de sécurité du serveur Cloud
- 软件测试逻辑覆盖相关理解
- Nacos problem
猜你喜欢

Classic illustration of K-line diagram (Collection Edition)

软件工程专业大二,之前的学习情况不太好该怎么规划后续发展路线

数据基础设施升级窗口下,AI 新引擎的技术方法论

QC协议+华为FCP+三星AFC快充取电5V9V芯片FS2601应用

4-2 port banner information acquisition

Flutter calls Baidu map app to realize location search and route planning

Win11安装权限在哪里设置?Win11安装权限设置的方法

Sophomore majoring in software engineering, the previous learning situation is not very good. How to plan the follow-up development route

软件测试逻辑覆盖相关理解

Game Maker 基金会呈献:归属之谷
随机推荐
MSYQL, redis, mongodb visual monitoring tool grafana
14.04 million! Sichuan provincial human resources and social security department relational database and middleware software system upgrade procurement bidding!
What about frequent network disconnection of win11 system? Solution to win11 network instability
NLP 类问题建模方案探索实践
QC protocol + Huawei fcp+ Samsung AFC fast charging 5v9v chip fs2601 application
Sophomore majoring in software engineering, the previous learning situation is not very good. How to plan the follow-up development route
Inception 新结构 | 究竟卷积与Transformer如何结合才是最优的?
Zotero journal Automatic Matching Update Influencing Factors
MBA-day26 数的概念与性质
电脑ssd硬盘怎么安装使用
云服务器的安全设置常识
JVM(2) 垃圾回收
Game Maker 基金会呈献:归属之谷
Canonical engineers are trying to solve the performance problem of Firefox snap
【Proteus仿真】矩阵键盘中断扫描
Win11系统频繁断网怎么办?Win11网络不稳定的解决方法
freemarker模板框架生成图片
一个mysql里有3306端口下,一个mysql有20多个数据库,怎么一键备份20多个数据库,做系统备份,防止数据误删除?
Mba-day19 if P then q contradictory relation P and not Q
Lingyun going to sea | Wenhua online &huawei cloud: creating a new solution for smart teaching in Africa