macro won't switch windows

  • Here I’m copying a locked message from 10 months ago with no replies because I have exactly the same problem:

    I would like to use Notepad++ macro with two files, one would contain for example a list of items to be replaced to, and the other would be replaced using the macro. I tried pressing F8 in tab view or Ctrl+PGUp/PGDWn but it doesn’t work properly in the macro. Either the macro can’t skip views or doesn’t remember the last position in the view. anyone has an idea about this? it could be a very useful and powerful function.

  • @LeeBonnifield

    in the meantime you can edit the shortcuts.xml file
    and put the folowing line into the macro

     <Action type="2" message="0" wParam="44072" lParam="0" sParam="" />

    This is the message needed to switch to another view.


Log in to reply