I'm using notepad++ (v6.5.3) and I constantly have to change the size of the tab for viewing some results. Not that it's taking me a lot of time to do it manually everytime, but it would be great if I could optimize that.
Is there a way to do so? Would a macro be the solution, or are they just for typing stuff?
Thanks a lot!
Ok, there's an easy way how you can achieve this - I have tested it right now:
Edit This Script
Right click Autohotkey tray icon and select
Reload This Script
.–– This was end of general steps, now let's go with your macro: ––
In N++, display
Preferences
window and press its Close button1 at the bottom (NOT at the top-right corner)Now you can use shortcuts Win+F2 and Win+F3 to switch different tab sizes instantly
1) Important: N++ user experience provided in dialog boxes is absolutely terrible. There are no anchors where you can fix focus when using keyboard. Thus you always need to perform
step 4
manually when leavingPreferences
dialog box otherwise the macros would send keys into incorect window page OR at correct page but incorrect control.Preferences
dialog window remembers selected page and control. Macros I created for you therefore assume that correct page is already listed and button Close was recently focused.Good news is Notepad++ windows with this weird behavior are rare exception from general user experience. In other places in N++ (or in other apps) where user interface components (menus, dialogs etc.) always start from the same point you do not need any special precautions like the one in step 4.
Adjust the macros as you like: