Python Script for Notepad++
The scripting plugin
*Full programmatic access to Notepad++ features and menus
*Full programmatic access to all of Scintilla features
*Call other plugin menu items
*Assign menu items, shortcuts and toolbar icons to scripts
*Process Notepad++ and Scintilla events, direct from a Python script
*Python console built-in
*Full regular expression support for search and replace - script Python regular expression replaces
*Start external programs and pipe the output direct to a Notepad++ document, or filter it, or simply to the console window
*Full documentation for all the objects and methods.
Here's a sample...
# Simple search / replace
editor.replace("old", "new")
# Regular expressions search and replace
editor.rereplace(r"^([A-Z]{3,5})--\1", r"CODE: \1")
# Call a Scintilla function
editor.appendText("Changed codes\r\n");
# Save the file
newFilename = notepad.getCurrentFilename() + ".changed"
notepad.saveAs(newFilename);
# Write to the console window
console.write("Saved as %s\n" % newFilename)
# Create a new document
notepad.new()
# Run a command on the file, and output results to the new file
console.run('compiler.exe "%s"' % newFilename, editor)
So, why another scripting plugin...
It uses python.
See reason 1.
It's lightweight, a 2MB download, it doesn't start up until it's needed (which normally takes about 0.2 seconds), and it doesn't start anything extra (like webservers... :)
Full access to all of Scintilla features, and access to respond to events
Did I mention it uses Python?
Interoperable from other plugins - call Python function from your own plugin
Very quick and easy to create a new script, and add it to the menu
Python is so easy to learn, you'll be writing scripts that save you hours in no time
Python's a great choice for a scripting language - it's very easy to learn, very easy to read and write, and can be object oriented (in fact, it has an excellent model), but doesn't need to be. A script that looks like
notepad.open("c:\autoexec.bat")
is just as valid as a full blown object oriented magic system that turns Notepad++ into a coffee-making spreadsheet application.
Free Download Software Python Script for Notepad++
DOWNLOAD NOW!
0
comments
League of Legends Guide tricks, tips, and strategies.
League of Legends Guide contains droves of condensed, actionable information that will help both beginners and experienced players sharpen their skills and gain the competitive edge they need to dominate the game. In addition to information regarding recent game changes, updated game rules, and rules to avoid being banned, our guide offers concrete tactics and strategies to improve your gameplay, as well as true insider knowledge from some of the top players in the world.
Download Ebook League of Legends Guide.
Free Download.!
CLICK HERE.!