Dear all,
I have been using PSPad in the past and would like to switch to notepad++. But since a few features are missing in notepad++ that I would need, i’m planing on automate Notepad++. But I’m not very good at messages . Therefore, I’m looking for wrappers or a class that I could use as a basis to communicate with notepad++.
I saw that VismundCygnus has a function to get the current path of file from notepad++ via message.
Do you have wrappers or a class for the other messages that notepad++ offers and would like to share them/it?
Or maybe supporting me to write them?
The messages of notepad++ can ne found here
Many thanks in advance.
Toralf
Wrapper for Notepad++ messages and notifications
Wrapper for Notepad++ messages and notifications
ciao
toralf
toralf
Re: Wrapper for Notepad++ messages and notifications
FYI -- Notepad++ has an 'ActiveX Plugin' available for download. You will be able to easily control it with DllCall & AutoHotkey.
I don't know how much is supported by the plugin, but it might do what you want...
I don't know how much is supported by the plugin, but it might do what you want...
Re: Wrapper for Notepad++ messages and notifications
- I don't personally use Notepad++ very much, but here are a few links for anyone interested in automating it.
- @toralf: I would recommend mentioning any/all desired features explicitly. It could be a good checklist for a Notepad++ library and for other IDEs.
- Notepad++ uses Scintilla controls, there are multiple messages listed here:
Scintilla Documentation
https://www.scintilla.org/ScintillaDoc. ... alMessages
- There are a few functions beginning with 'JEE_Sci' for getting/setting Scintilla control text.
GUIs via DllCall: get/set internal/external control text - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?t=40514
- Of course, you can invoke menu items:
Get Info from Context Menu (x64/x32 compatible) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=31971
- Here is VismundCygnus's post, and a link I found based on it. [EDIT: You linked both of these above.]
Notepad++: get path - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=54267
Messages And Notifications - Notepad++ Wiki
http://docs.notepad-plus-plus.org/index ... ifications
- @toralf: I would recommend mentioning any/all desired features explicitly. It could be a good checklist for a Notepad++ library and for other IDEs.
- Notepad++ uses Scintilla controls, there are multiple messages listed here:
Scintilla Documentation
https://www.scintilla.org/ScintillaDoc. ... alMessages
- There are a few functions beginning with 'JEE_Sci' for getting/setting Scintilla control text.
GUIs via DllCall: get/set internal/external control text - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?t=40514
- Of course, you can invoke menu items:
Get Info from Context Menu (x64/x32 compatible) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=31971
- Here is VismundCygnus's post, and a link I found based on it. [EDIT: You linked both of these above.]
Notepad++: get path - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=54267
Messages And Notifications - Notepad++ Wiki
http://docs.notepad-plus-plus.org/index ... ifications
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: Wrapper for Notepad++ messages and notifications
Good idea, but you need to register the activeX for which You need admin rights AFAIK, which I do not have on my company pc...TheDewd wrote:FYI -- Notepad++ has an 'ActiveX Plugin' available for download.
ciao
toralf
toralf
Re: Wrapper for Notepad++ messages and notifications
Thanks jeeswg, my biggest dream is to create an AHK controlled project manager for notepad++. The integrated project views of notepad++ are way to simple. In combination with NppExec they can do a lot, but not what I am looking for (or was usd to in PSPad).jeeswg wrote: - @toralf: I would recommend mentioning any/all desired features explicitly. It could be a good checklist for a Notepad++ library and for other IDEs.
An AHK controlled project manager in notepad++ could help is several ways,
- make use of Hotkeys notepad++ doesn’t allow
- set a main script to run for a project
- start non AHK files in their native apps
- scan project files for global vars and functions
- search within project files (which can be scattered in different locations)
- context menus, toolbar etc to operate on the project
The problem is to imitate a plugin dll and get an AHK gui behave as being part of notepad++.
ciao
toralf
toralf
Who is online
Users browsing this forum: No registered users and 277 guests