• Login
Community
  • Login

Mouse Button Shortcuts Fail

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
20 Posts 3 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.
  • A
    artie-finkelstein @Alan Kilborn
    last edited by Nov 15, 2021, 12:50 AM

    @alan-kilborn
    I do find it a bit of overkill as I only use custom assignments for Notepad++, which requires keycodes to launch macros. It was the quickest way to trigger a script to follow file paths embedded in a text file. The custom URI handler in Npp is nice, but it requires percent encoded strings, which are hard to visually match to the text displayed in a cmd console or Explorer window.

    1 Reply Last reply Reply Quote 0
    • N
      NotSoBitWise
      last edited by NotSoBitWise Nov 17, 2021, 6:19 AM Nov 17, 2021, 6:19 AM

      Thanks to all for your replies.
      I have used the Logitech M510 mouse with the SetPoint programmable buttons providing key stroke mappings for years. The mappings I referenced work as expected in all other applications including MS Office, all browsers and other text editors. Based on my primitive typing style, these simple mapping have worked well for me.

      A text editor I have used for years is no longer supported so I recently switched to NP+ which I like very much. Unfortunately, it does not respond to the SetPoint button shortcuts I referenced. I thought perhaps I had failed to apply a NP+ configuration setting of some kind.

      A A 2 Replies Last reply Nov 17, 2021, 12:21 PM Reply Quote 0
      • A
        Alan Kilborn @NotSoBitWise
        last edited by Nov 17, 2021, 12:21 PM

        @notsobitwise

        One presumes it is all based upon Windows messaging, i.e., Setpoint translates your desires into standard Windows messages that are then passed to applications.

        Why this isn’t being done to Notepad++'s satisfaction for your cases, I don’t know.

        But probably Notepad++ developers don’t have the time or inclination to look into it.

        1 Reply Last reply Reply Quote 2
        • A
          artie-finkelstein @NotSoBitWise
          last edited by Nov 18, 2021, 4:34 AM

          @notsobitwise

          I have used the Logitech M510 mouse with the SetPoint programmable buttons providing key stroke mappings for years

          As @alan-kilborn alludes, Windows messaging is not the same as key codes (key strokes). They are very different. Your reply tells me you do not grok the difference since your initial posting mentioned:

          Wheel-depress action= Delete
          Wheel-tilt-right action = Paste

          Which are message names, not key codes.

          My guess that one of the reasons Notepad++ is so responsive when editing text is it stays away from most, if not all, of the Microsoft IPC ‘du jour’ techniques, e.g., COM, Data Copy, DDE, File Mapping, Mailslots, Pipes, RPC, Windows Sockets. The overhead required to support any one of those makes my mind boggle.

          Don’t think of it this way (messaging):
          you --> keyboard --> key codes --> Windows --> IPC protocol --> message --> Notepad++

          Instead, look at it this way (key codes):
          you --> keyboard --> key codes --> Notepad++

          You need to configure Setpoint to speak in terms that Notepad++ understands.

          1 Reply Last reply Reply Quote 2
          • N
            NotSoBitWise
            last edited by Nov 20, 2021, 7:22 PM

            Thanks for your explanation and if I understand, it appears to be based on the the way NP+ interprets messaging vs the other apps I use.
            Unfortunately I have no influence on the Logitech development priorities :)
            Based on the nature of the replies, it appears NP+ is largely used by developers/IT, hence in some cases, it’s behavior and features may vary from those used by general business users like myself.

            My use of NP+ has been a trial to replace my former text editor so I can just revert.

            Thanks again for all the replies!

            A 1 Reply Last reply Nov 21, 2021, 2:06 AM Reply Quote 0
            • A
              artie-finkelstein @NotSoBitWise
              last edited by Nov 21, 2021, 2:06 AM

              @notsobitwise
              I’ll try pictures…

              this is how I assign <Ctrl></> to the left wheel tilt when in Notepad++:
              ks.png

              I do NOT try to use any of the mouse specific functions, e.g., Cruise Down, or the IPC messages available with the ‘other’ option:
              am_exp.jpg.

              I don’t know about Logitech support for Setpoint across different meeces, but it has been pretty consistent across different Setpoint releases when using the M705 mouse.

              N 1 Reply Last reply Nov 25, 2021, 11:31 PM Reply Quote 2
              • N
                NotSoBitWise @artie-finkelstein
                last edited by NotSoBitWise Nov 25, 2021, 11:32 PM Nov 25, 2021, 11:31 PM

                @artie-finkelstein
                Yes that’s precisely how I have it configured in SetPoint.

                However, I did find the problem- NPP is launching in Admin mode.
                I installed the update to 8.9.2 and with Explorer open, happened to launch from the NPP program folder. All the mouse shortcuts behaved as expected and I noticed I did not see [Administrator] in the upper left.

                My new problem is that launching directly from the NPP folder is the only way to avoid Admin mode which I don’t need.
                This is behavior I have never seen before- no matter how I launch, it always goes into Admin mode. I even tried calling a batch file that launches the EXE and also tried having it launch a shortcut located in in the EXE folder. Neither the shortcut nor EXE properties specify Admin.
                I looked for a command line argument to force no-admin but could not find one. Is there some option to do this?

                A A 2 Replies Last reply Nov 26, 2021, 1:05 AM Reply Quote 0
                • A
                  Alan Kilborn @NotSoBitWise
                  last edited by Nov 26, 2021, 1:05 AM

                  @notsobitwise said in Mouse Button Shortcuts Fail:

                  My new problem is that launching directly from the NPP folder is the only way to avoid Admin mode which I don’t need.
                  This is behavior I have never seen before- no matter how I launch, it always goes into Admin mode. I even tried calling a batch file that launches the EXE and also tried having it launch a shortcut located in in the EXE folder. Neither the shortcut nor EXE properties specify Admin.
                  I looked for a command line argument to force no-admin but could not find one. Is there some option to do this?

                  I had this same problem a few years ago.
                  I didn’t know why it was happening.
                  Then one day it stopped happening (and I was glad).
                  I hope it is easier for you to figure out why.

                  N 1 Reply Last reply Nov 26, 2021, 6:34 PM Reply Quote 0
                  • N
                    NotSoBitWise @Alan Kilborn
                    last edited by NotSoBitWise Nov 26, 2021, 6:36 PM Nov 26, 2021, 6:34 PM

                    @alan-kilborn

                    Since I want NPP to launch with Windows, I created a shortcut and placed it in my “user” Startup folder.
                    From here, when selected, it does not launch as Admin.
                    Unfortunately, on restart, Windows does launch it in Admin mode.

                    However, I have found a solution…in place of Windows File Manager, for years I have used XYplorer that so too many features to cover here including a scripting language for custom configuration. If you aren’t familiar check it out; it’s cheap and the developer is very responsive. (I am not a paid promoter, only a user)

                    One very helpful feature is the ability to configure toolbar buttons to do pretty much anything. So I configured it to launch NPP and it does so without forcing Admin mode.
                    It would be nice to have NPP auto launch with Windows but since I have XY up all the time, it’s a minor inconvenience to load it manually.

                    This was my first post here and from the quick response I received appears a great community. Thanks very much to all who responded!

                    A 1 Reply Last reply Nov 26, 2021, 7:36 PM Reply Quote 0
                    • A
                      Alan Kilborn @NotSoBitWise
                      last edited by Nov 26, 2021, 7:36 PM

                      @notsobitwise

                      Well, I use XYplorer as well, and it is great…but I think your problems related to admin mode are not really germane to what file manager you use.

                      N 1 Reply Last reply Nov 27, 2021, 1:22 AM Reply Quote 1
                      • A
                        artie-finkelstein @NotSoBitWise
                        last edited by Nov 26, 2021, 7:58 PM

                        @notsobitwise said in Mouse Button Shortcuts Fail:

                        However, I did find the problem- NPP is launching in Admin mode.

                        This may not be the only/real issue:
                        I run the entire Win7 system in Admin Mode with Notepad++ always launching in Admin Mode. Unfortunately I’ve just spent the last few days removing Setpoint and all the other Logitech telemetry crap programs so I can no longer check if my having Notepad++ in Admin Mode worked because Setpoint was also in Admin Mode.

                        If it matters:
                        I’m still using the Logitech Unify receiver and have switched to X-Mouse Button Control to remap the scroll wheel tilt codes.

                        1 Reply Last reply Reply Quote 0
                        • N
                          NotSoBitWise @Alan Kilborn
                          last edited by Nov 27, 2021, 1:22 AM

                          @alan-kilborn

                          I did not mean to give that impression, and I agree, choice of file manager is not the issue. My point was explaining how I had finally found a way to launch without forcing Admin mode.

                          I might speculate that since I am an Admin, that context is impacting how NPP is launching. XY is not launched in Admin mode so when it executes the launch, the different context may be the difference. Pure speculation on my part as I have no clue why I’ve experienced this.

                          1 Reply Last reply Reply Quote 0
                          • N
                            NotSoBitWise
                            last edited by Nov 27, 2021, 1:29 AM

                            @artie-finkelstein
                            Thanks for passing along, I was not familiar. It looks like a major improvement over SetPoint and I would love different button behavior across different apps. Any issues using it?

                            A 1 Reply Last reply Nov 28, 2021, 2:37 AM Reply Quote 0
                            • A
                              artie-finkelstein @NotSoBitWise
                              last edited by Nov 28, 2021, 2:37 AM

                              @notsobitwise
                              It did take me a bit to figure out that I had to create a new profile for Notepad++ by clicking on the Add button under the large almost empty Application / Window Profiles area to enable a custom (per application) profile, the rest was nicely guided by application dialogs.

                              I installed XMBC with Setpoint still running and then started uninstalling Setpoint and all the Logitech zombies; numerous reboots, renames and manual registry edits as guided by the remnants displayed by Autoruns . I don’t think Logitech believes anyone really wants to remove their spyware software. I have an alert in the Device Manager for the Human Interface Devices > Logitech Unifying USB Receiver entry telling me that

                              Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19)
                              

                              However, I am still using the M705 with it’s previously paired Unify receiver. I may have to resort to reinstalling the Unify driver software when I next need to pair a Logitech device with one of the Linux boxes, but that can wait.

                              In summary, no problems with XMBC, too many problems with Logitech not honoring the program uninstall command(s).

                              N 1 Reply Last reply Nov 28, 2021, 4:27 AM Reply Quote 0
                              • N
                                NotSoBitWise @artie-finkelstein
                                last edited by Nov 28, 2021, 4:27 AM

                                @artie-finkelstein
                                Could you have just started by uninstalling SetPoint and reverted to the generic Windows mouse driver and then installing XMBC?

                                Unifying software isn’t resident in memory so is periodically running it for pairing a problem?

                                A 1 Reply Last reply Dec 1, 2021, 4:57 AM Reply Quote 0
                                • A
                                  artie-finkelstein @NotSoBitWise
                                  last edited by Dec 1, 2021, 4:57 AM

                                  @notsobitwise
                                  Yes, but I wanted my tilt-wheel mappings available no matter where I was in the conversion process, so I chose the path I followed.

                                  Yes, pairing would be an issue, but I’m not buying any more Logitech products (have you read their latest EULA?; they now sell mice that won’t enable all the buttons if you don’t first install a download that has licence terms I won’t agree to.)

                                  N 1 Reply Last reply Dec 1, 2021, 5:31 AM Reply Quote 0
                                  • N
                                    NotSoBitWise @artie-finkelstein
                                    last edited by Dec 1, 2021, 5:31 AM

                                    @artie-finkelstein
                                    The Logitech software has been problematic for years. In SetPoint, the toggle setting to control application specific buttons does not persist during system restarts. It also fails to support all the mouse options so you still need to load the Windows mouse utility for some settings. Their newer Logitech Options utility has made things worse since you still need SetPoint AND Windows Mouse for complete control. You have to wonder what their design strategy might be.

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