command line sftp auto-connect
Is there a command line method of interacting with plugins? I’m using putty session manager which on top of putty integrates with some other programs such as filezilla and it would be nice if there were a way to integrate this with notepad++ as well to open notepad++ to a specific site.
PeterJones last edited by
The plugin would have had to define an interface for doing that. I doubt that NppFTP has implemented such a feature, but the NppFTP > About NppFTP dialog gives a link to their website, so you could ask for that feature (with no guarantee of getting it)
@PeterJones do you know of any plugins that have command line interactivity? I imagine this would need host (notepad++) support, I’m curious how this implementation would work.
PeterJones last edited by PeterJones
I imagine this would need host (notepad++) support
Notepad++ provides the
-zcommand line option – see usermanual here; since plugins have access to the string that called Notepad++ from the command line, they can process everything after
-zfor their own options. Here is an example implementation (using a script in the PythonScript plugin, but a compiled plugin has the same access to that information)
For example, maybe NppFTP could look for a
-nppftpconnectparameter after the
-zto immediately connect to a site…
@PeterJones that looks like what I’m looking for. I’ll have to read up on integrating npp user parameters with plugins, thanks!