Notepad++ COM?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Notepad++ COM?

17 Dec 2018, 04:16

Hi guys,

I googled a bit, but didn't find an answer... so I believe the actual answer will be no.
Is there some kind of COM for Notepad++, like for Excel, Word and other applications?
(At least I didn't find it here: https://autohotkey.com/board/topic/5698 ... otkey-v11/)

For example, I created different AHK scripts, which perform actions like:
- go to line X
- search document for word X, and jump to it
(I'm speaking about files which are opened in Notepad++)

Both examples depend on Notepad++'s native "Go to line"-Window (Ctrl+G) or the "Search-Window" (Ctrl+F).
Even though it works, I wonder if there's also another way - which would be slightly faster and probably safer.
There are also other examples of course.

Would be interesting to know if other options exist.
Thanks for any help!

Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
CyL0N
Posts: 211
Joined: 27 Sep 2018, 09:58

Re: Notepad++ COM?

17 Dec 2018, 07:42

I don't know if it's got COM,but i know it's got extensive support for Messages.

http://docs.notepad-plus-plus.org/index ... ifications
live ? long & prosper : regards
toralf
Posts: 868
Joined: 27 Apr 2014, 21:08
Location: Germany

Re: Notepad++ COM?

17 Dec 2018, 11:23

I have somewhere on my pc a wrapper for the notepad++ messages. But i’m Currently just on the phone
ciao
toralf
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Notepad++ COM?

23 Dec 2018, 11:39

@CyL0N:
Thanks, unfortunately on the first look I didn't find the commands I need.
But it contains useful stuff anyway!
NPPM_GETCURRENTLINE - this is a good one!

@toralf:
Still/again on the phone? :)

Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
toralf
Posts: 868
Joined: 27 Apr 2014, 21:08
Location: Germany

Re: Notepad++ COM?

23 Dec 2018, 14:04

Currently yes. :/
ciao
toralf

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: GollyJer, Lamron750, septrinus, shawn_xwang and 252 guests