Community
    • Login

    associate highlighting with the "copy" command

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 689 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.
    • michel MICHELM
      michel MICHEL
      last edited by

      Hi everyone,
      I’m trying to automatically associate highlighting with the “copy” command without success.
      is someone has a solution ?
      (sorry if the question has already been asked but I haven’t see any post about this point).
      thanks to you guys,
      mic.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @michel MICHEL
        last edited by

        @michel-MICHEL ,

        What do you mean by “automatically associate highlighting with the “copy” command”?

        What are you trying to do? What would you like the results to be? What are they currently?

        Because the only reasonable interpretation that I can come up with – essentially, “I would like to be able to select text, and have the copy command only copy that selected text” – already works that way, so that presumably cannot be what you mean.

        1 Reply Last reply Reply Quote 2
        • michel MICHELM
          michel MICHEL
          last edited by michel MICHEL

          Hi PeterJones,
          thanks for you quick reply.
          I mean that when I select a word notepad++ automatically copies it without needing to do a right click and then click on “copy” or without needing a “CRTL+C” action.

          more generally it would be interesting to be able to choose a command as soon as a word has been selected (highlighting, double-click). for example: put it in upper or lower case, or open Wikipedia to search for it, open an application of your choice with this word as an argument, … (ok ok now I’m going to far away).

          thanks for your help,
          mic.

          PeterJonesP mkupperM 2 Replies Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @michel MICHEL
            last edited by PeterJones

            @michel-MICHEL said in associate highlighting with the "copy" command:

            Hi PeterJones,
            thanks for you quick reply.
            I mean that when I select a word notepad++ automatically copies it without needing to do a right click and then click on “copy” or without needing a “CRTL+C” action.

            That is a feature called “copy on select”, which Notepad++ doesn’t implement. (It’s much more common in the Linux world that Windows, that I’ve run across). See this other discussion for potential plugin or scripting solution options. (It wasn’t specifically confirmed in that discussion, but the “Select To Clipboard” plugin is available using the Plugins Admin interface, so it’s easy to install it from inside Notepad++.)

            more generally it would be interesting to be able to choose a command as soon as a word has been selected (highlighting, double-click).

            “As soon as”: not available. But after making a selection, most of those actions (like changing case) are available from menus, which means they have or could have keyboard shortcuts, or could be added to right click context menu.

            michel MICHELM 1 Reply Last reply Reply Quote 1
            • mkupperM
              mkupper @michel MICHEL
              last edited by

              @michel-MICHEL said in associate highlighting with the "copy" command:

              I mean that when I select a word notepad++ automatically copies it without needing to do a right click and then click on “copy” or without needing a “CRTL+C” action.

              more generally it would be interesting to be able to choose a command as soon as a word has been selected (highlighting, double-click). for example: put it in upper or lower case, or open Wikipedia to search for it, open an application of your choice with this word as an argument, …

              Normally Windows only has one copy/paste buffer. When you load something into the copy/paste buffer Windows discards whatever is there and loads the new thing in its place. If an application had a copy-on-select feature then only the last thing selected is then available in the copy/paste buffer. You can see this for yourself now. Select a word and do Ctrl+C to load it into the copy/paste buffer. Select another word and again do Ctrl+C. Keep selecting and Ctrl+C. Later, do a Ctrl+V to paste and you will get the last thing you had loaded into the copy/paste buffer.

              As Ctrl+C is already available we already have something that’s close to what you are asking for. If you want to convert selections to lower case then do the selection and then do Ctrl+U on the keyboard. Ctrl+Shift+U will convert the selection to upper case.

              1 Reply Last reply Reply Quote 1
              • michel MICHELM
                michel MICHEL @PeterJones
                last edited by

                @PeterJones
                Hi peterjones,
                you understood me perfectly. I saw that there is also AutoclipX but haven’t tested it yet. and it’s general to Windows not specific to Notepad++.
                anyway,
                thanks again peterjones.

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