• Login
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 882 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.
  • V
    Vismund-Cygnus
    last edited by Sep 22, 2018, 7:05 PM

    (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
    • V
      Vismund-Cygnus
      last edited by Nov 1, 2018, 6:36 PM

      Bump? Any ideas?

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