Community
    • Login

    macro won't switch windows

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LeeBonnifieldL
      LeeBonnifield
      last edited by

      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.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @LeeBonnifield
        last edited by

        @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.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors