Questions tagged [nppexec]

NppExec is a console plugin for Notepad++ that allows you to run scripts and some built-in commands.

NppExec is a console plugin for the text-editor Notepad++ that allows you to run scripts and some built-in commands.

Most Run commands have been implemented as scripts. Built-in variables can be used to enable more complicated, program-specific tasks such as compiling code.

NppExec scripts can be assigned to menu items and keyboard shortcuts.

90 questions
1
vote
1 answer

How do I hide commands that are executed in NppExec?

I'm wondering if I can disable the console info, or the green text, that shows up in the NppExec console when I run npe_console v+. This is what I see when I run my script: Console mode: a- d+ h- m- q+ v+ f- r- k3 o2 i2 ; append: off, cd_curdir:…
1
vote
1 answer

Connecting Node.js to Notepad++ Console

I'm trying to get the node console integrated into Notepad++ with the NppExec plugin following this tutorial as a reference (I know it's bad, but there are no other useful tutorials like it). At around 22 seconds, he opens the plugin's "Execute..."…
1
vote
0 answers

Notepad++ with NPPEXEC plug-ins

Is there anyway where I could incorporate the NPPEXEC in my latest version of notepad++? I can't seem to have the console option in my notepad++ so I could run the output of the script instead going back and forth to the command prompt.
MAbellon
  • 11
  • 3
1
vote
1 answer

Notepad++ Console - unable to change the current drive

I've just discovered the NppExec console in Notepad++, which I would really like to use in place of opening up cmd instances. My 'Projects' folder is on the D drive, but Notepad++ is installed in C:/Program Files... I tried changing the current…
exelotl
  • 494
  • 3
  • 10
1
vote
0 answers

C Programs compiled and run through NPP_Exec console on Notepad++

Is there some way to run C programs interactively through Notepad++'s console where prompts for input would appear? I can't seem to get it work as expected. I can demonstrate with this bit of code- #include int main() { int number,…
Alex G
  • 807
  • 6
  • 13
1
vote
1 answer

NPPEXEC NPE_CMDALIAS Save Custom Alias?

I've been using cygwin mintty for awhile now and it supports the use of custom alias's by simply defining them in the bashRC file of my user properties. Essentially I could type "test" and have it execute a script that may look something like…
user551258
  • 11
  • 2
1
vote
0 answers

How to get the output of a batch-file and input it to a filename

Does anyone know how to get the output of an batch-file on NPPExec and input it to a filename? For example: cmd /c "$(NPP_DIRECTORY)\datetime.bat" set DATI = $(OUTPUT) cmd /c copy "$(FULL_CURRENT_PATH)" "D:\Notepad++ - Backups\$(FILE_NAME).$(DATI)"…
John_Magdy
  • 23
  • 8
1
vote
1 answer

Send line to console in Notepad++

Is there a way to execute commands line-by-line written in NPP editor in a console. I have already looked at the following plugins, but they seem to execute a line or chunk of code as a standalone script (i.e. not…
1
vote
1 answer

Execute NPP-Shortcut with NPPexec

NPP shortcut via CMD Here is my Problem: I want to execute a shortcut of Notepad++ via NPPexec, but I dont know who it works. I hope you can help me. Thx for ur Answers :D
1
vote
3 answers

NppExec in Notepad++ to "Run a Macro Multiple Times..."

I use simple NPP_Exec commands in N++ which work fine for macros. Eg.: NPP_MENUCOMMAND Macro/Action1 NPP_MENUCOMMAND Encoding/Convert to ANSI NPP_SAVE But how can I run a specific macro several times? I have tried NPP_MENUCOMMAND Macro/Run but…
Remus Sarnus
  • 25
  • 1
  • 7
1
vote
1 answer

Cannot run conda command 'activate' with NppExec plugin of Notepad++

If I run activate my_environment from a command prompt conda correctly switches to the desired environment, but if I execute the following temporary script from NppExec plugin activate my_environment python "$(FULL_CURRENT_PATH)" I get the error…
mmj
  • 5,514
  • 2
  • 44
  • 51
1
vote
1 answer

How do I create a new file with NppExec in Notepad++?

In Notepad++, I would like to create a new file and then put the contents of another file in that new file. This is possible by creating a macro, but the problem is, I have to copy-paste the contents, losing whatever was on the clipboard before, and…
Ruben
  • 136
  • 5
1
vote
1 answer

NppExec in Notepad++ not handling sys.stdin

I am having trouble getting NppExec to handle this bit of code: import sys for inString in sys.stdin : print(inString) When I type into the console nothing happens, and I have to terminate the process. I get a message that the process is still…
Sam
  • 341
  • 2
  • 10
1
vote
2 answers

How to run JavaFX application from Notepad++? (Only runs as .jar file)

How do you correctly run a JavaFX Application from cmd Notepad++'s plug-in, NppExec? I previously used the command java $(NAME_PART) on the Notepad++ plugin NppExec (which is basically a built-in cmd) to run java which worked fine for swing-based…
ATH
  • 43
  • 1
  • 7
1
vote
1 answer

NppExec won't take function for path in Notepad++

I wanted to be able to compile and run C and C++ code from Notepad++ on my flash drive (Using PortableApps.com). I got MinGW and put it on my flash drive, I adjusted This Guy's NppExec script to work with a flash drive and it would work flawlessly…