当前位置:网站首页>Notepad++--宏(记录操作过程)
Notepad++--宏(记录操作过程)
2022-06-29 19:44:00 【IT利刃出鞘】
原文网址:Notepad++--宏(记录操作过程)_IT利刃出鞘的博客-CSDN博客
简介
说明
本文用示例介绍Notepad++的宏。
宏的作用
1.可以使用宏录制自己的行为,然后自动执行,解决重复性操作的困扰。
2.可以使用宏来记录快捷键,它比系统的快捷键优先级更高。
宏的快捷键
设置=> 快捷键管理=> 宏
我的快捷键 | 原来快捷键 | 作用 | 描述 |
alt+x | 无 | 选中行(不包含开头空白字符) | 自定义的宏 |
ctrl+d | 无 | 复制行 | 自定义的宏 |
示例
示例1:选择行并复制行
宏=> “开始录制”=> 按下“Home”=> 按下“Shift+End”=> 按下“Ctrl+C”=>
宏=> “停止录制”=> 宏=> “保存录制宏”=> 定义快捷键为“alt+x”
注:以上“开始录制”等在工具栏也有相应图标。
示例2:输入xxx0到xxx9
(1)将数字输入好比如:3,3是该行第一字符,此时光标在3后边。
(2)开始录制宏=> Home=> Shift+End(选中行)=> Ctrl+C
(3)End=> 回车=> Ctrl+V (反复9次)(目前光标是在最后一个3后面)
(4)输入9=> 上方向键=> 输入8=> 上方向键=> 以此类推到输入0
(5)停止录制=> 保存录制宏=> 名字写为:数字序列10,快捷键选择F9。
使用方法:输入数字xx,自动完成后从xx0到xx9都输出了
示例3:输入xxx00到xxx99(需要用到示例2)
(1)将数字输入好比如:3,3是该行第一字符,此时光标在3后边。
(2)开始录制宏=> Home=> Shift+End(选中行)=> Ctrl+C
(3)End=> 回车=> Ctrl+V (反复9次)(目前光标是在最后一个3后面)
(4)输入9=> 上方向键=> 输入8=> 上方向键=> 以此类推到输入0(目前光标在30后面)
(5)F9(示例2的快捷键)=> 将光标移动到31后面=> F9(以此类推,直到光标移动到39后面,按F9)
(6)停止录制=> 保存录制宏=> 名字写为:数字序列100,快捷键选择F10。
使用方法:输入数字xx,自动完成后从xx00到xx99都输出了
边栏推荐
- Sword finger offer 41 Median in data stream
- Automatically obtain local connection and network address modification
- nacos 问题
- KDD 2022 | characterization alignment and uniformity are considered in collaborative filtering
- 构建增强现实移动应用程序的六款顶级工具
- freeswitch拨打分机号
- MBA-day19 如果p则q矛盾关系p 且非q
- Arm comprehensive computing solution redefines visual experience and powerfully enables mobile games
- 【剑指Offer】51. 数组中的逆序对
- 14.04 million! Sichuan provincial human resources and social security department relational database and middleware software system upgrade procurement bidding!
猜你喜欢

3 - 3 découverte de l'hôte - découverte à quatre niveaux

JVM (4) Bytecode Technology + Runtime Optimization
![[software testing] 01 -- software life cycle and software development model](/img/57/a4fcb40a33c80b0bcf2187d1943abd.jpg)
[software testing] 01 -- software life cycle and software development model

3-3 host discovery - layer 4 discovery

shell bash脚本注意:单行末尾转义符 \ 后千万不能有其他无关字符(多行命令)

3-3主机发现-四层发现

【观察】软通动力刘天文:拥抱变化“顺势而为”,做中国数字经济“使能者”...
![[USB flash disk test] in order to transfer the data at the bottom of the pressure box, I bought a 2T USB flash disk, and the test result is only 47g~](/img/c3/e0637385d35943f1914477bb9f2b54.png)
[USB flash disk test] in order to transfer the data at the bottom of the pressure box, I bought a 2T USB flash disk, and the test result is only 47g~

KDD 2022 | 协同过滤中考虑表征对齐和均匀性

终于,进亚马逊了~
随机推荐
社区访谈丨一个IT新人眼中的JumpServer开源堡垒机
jfinal中如何使用过滤器监控Druid监听SQL执行?
ASP. Net core creates razor page and uploads multiple files (buffer mode) (Continued)
[network orientation training] - Enterprise Park Network Design - [had done]
并查集(Union-Find)
MySQL remote connection
Flutter 调用百度地图APP实现位置搜索、路线规划
How is the combination of convolution and transformer optimal?
shell bash脚本注意:单行末尾转义符 \ 后千万不能有其他无关字符(多行命令)
k线图经典图解(收藏版)
雲服務器的安全設置常識
3-3主機發現-四層發現
Why is informatization ≠ digitalization? Finally someone made it clear
14,04 millions! Appel d'offres pour la mise à niveau de la base de données relationnelle et du système logiciel Middleware du Département des ressources humaines et sociales de la province du Sichuan!
软件工程专业大二,之前的学习情况不太好该怎么规划后续发展路线
JVM (2) garbage collection
Canonical engineers are trying to solve the performance problem of Firefox snap
【Proteus仿真】矩阵键盘中断扫描
Arm 全面计算解决方案重新定义视觉体验强力赋能移动游戏
福昕软件受邀亮相2022先进制造业数智发展论坛