Community
    • Login

    Any way to monitor Npp/Scintilla's WM_NOTIFY messages from a separate process?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 1 Posters 1.1k Views 1 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.
    • Vismund-CygnusV Offline
      Vismund-Cygnus
      last edited by

      (Reposted from Github because that wasn’t really the best place for it…)

      I’ve been writing a bit of a Npp wrapper/helper with AutoHotkey (that being the only programming skills I have) and have figured out most of the NPPM_* messages, but it seems like a bit of a pain to be able to check things like WM_NOTIFY messages. I’d have to do a dll injection it seems. I wouldn’t even know where to begin with writing an actual Npp plugin.

      So I was wondering if there are any Npp messages or other dll functions I could maybe call from an external process in order to receive these WM_NOTIFY messages. I was trying not to rely on any extra software besides my AHK script, but I suppose if there were a Npp plugin that I could simply have send out a WM_COPYDATA message to my script on any WM_NOTIFY would be great. I don’t particularly need to stop/change the events while they’re happening - just knowing that they’re happening would be very cool.

      (Also - not Npp specific, but I’m also wondering the same thing about Scintilla. I know Scintilla has a few more messages directed at interfacing with it, so I just wanted to make sure I’m not missing anything obvious to make it easier to catch notifications from an external process/thread.)

      1 Reply Last reply Reply Quote 2
      • Vismund-CygnusV Offline
        Vismund-Cygnus
        last edited by

        Bump? Any ideas?

        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