Community
    • Login

    Recorded macro to search and switch tab causes it to return to 1st line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 3.3k 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.
    • Vivek YadavV
      Vivek Yadav
      last edited by

      I have a recorded macro to search a text using F3, Copy text (Ctrl+C) and then switch window using Ctrl+2 or Ctrl+Pg Down and then paste the text and switch to previous window using Ctrl+Pg Up .

      But when I run it, it seems to start search from 1st line and then again moves to 1st line when i switch tab. I wanted to paste in the location of the new location of the next search text. Can someone help me on how I can fix the issue?

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

        @Vivek-Yadav

        Did you check the macro section in shortcuts.xml?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Vincenzo MikelicV
          Vincenzo Mikelic
          last edited by

          Replying to this for people who come across this page in the future. I had this issue and solved it by repeating my macro manually until the page scrolled downwards, was about 4 times in my case. not sure why it worked. Some bug being avoided by having the search scroll the window down perhaps?

          1 Reply Last reply Reply Quote 0
          • Alessandro PoggiarelliA
            Alessandro Poggiarelli
            last edited by

            You should use “Toggle bookmark”.
            Set it before moving to next tab and then,when returning to initial tab, use F2 to move to “next bookmark”

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