Reputation: 403
I'm looking for a way to add a macro as an icon in the toolbar.
It seems possible to bind keys to the macro, customize the toolbar with Customize Toolbar and use toolbarIcons.xml to customize it. But none of those options provide an option to add a recorded macro as an icon to the toolbar in Notepad++.
Any suggestions?
Upvotes: 4
Views: 3101
Reputation: 12355
As you said this can be achieved with CustomizeToolbar plugin. Just follow tyhese steps:
Enable custom buttons checking Plugin/Customize Toolbar/Custom Buttons:
Notepad++ will ask you to restart:
%APPDATA%\Notepad++\plugins\config\CustomizeToolbar.btn
and add this line: Macro,YourMacroName,,,
replacing YourMacroName
with the name of your macroA new button should appear in the toolbar:
Upvotes: 6