Ok. Thanks for pointing $(CLIPBOARD_TEXT) variable.
Hi DV! The link you suggests is about the issue I reported here: https://sourceforge.net/p/npp-plugins/bugs/343/ By the way, thank you again for resolving it. Now that I can use very long parameters I can finally use my ProtocolDecoder on NppExec. The question I asked above is related to get selected text on the NppExec console window, not the Notepad++ editor. Please, see the attached image on my previous message. Thank you!
Hi all! There is some way to pass the currently selected text in the console window as a parameter for an external application? Currently, I have a script to get the current Notepad++ selection and pass it to an external application. The external application is a protocol decoder (let's call it ProtocolDecoder.exe). So, the result of the application are the decoded fields of the protocol packet (hexadecimal text in Notepad++ editor). Some protocols have other protocols encapsulated in them and are...
Sorry! I misunderstood your message! Now I'm using the following commands and everthing is working fine! cd D:\Rhobison\Programas\ATGenericPacketDebug\ npe_sendmsgbuflen 8M // set the string buffer size to 8 MB or whatever is needed sci_sendmsg SCI_GETSELTEXT 0 @"" // get the selected text into $(MSG_LPARAM) D:\Rhobison\Programas\ATGenericPacketDebug\ATGenericPacketDebug.exe AAP "$(MSG_LPARAM)" $NPINFO$ Thank you very much!
Hi! Thank you for the effort! I just downloaded the NppExec 0.6 RC3 and the problem persist. Only 2047 bytes of the argument is passed to NppExec. Do I need to update Npp also?
nppexec truncates command argument