Community
    • Login

    macro won't switch windows

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.1k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors