In Notepad++ how can I execute a script (like using F5) but with every save (Ctrl + S)?
Fresh3 days ago
Mar 15, 202619768 viewsConfidence Score0%
0%
Problem
I am doing something like this in my F5 command (execute): I want to run this script everytime I save the file. When I save this command as Ctrl + S, Notepad++ does not run it, only saves my file.
Error Output
C:\Python27\pythonw.exe G:\my_python_script.py
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: In Notepad++ how can I execute a script (like using F5) but with every save (Ctrl + S)?
Low Risk
If you use the NppExec plugin, the following macro will do what you want: This can be bound to any key combination, does not rely on any existing shortcuts, and will bring up a save dialog if necessary.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix