PSPad editor extensions

How to install extensions: Skritpts have to be unpacked into folders according to the scripting language they are written in (*.VBS into Script\VBScript, *.JS into Script\JScript, ...), convertors are to be placed in the Convert folder, syntax definition into the Syntax folder..

Any_tag_close (Serge Balance)
Automatically (Ctrl-.) (Ctrl-Key plus Dot-Key) closing html, xml, xsl and any arbitrary pair tag. This is improved version of my tag_close script. In current 1.7 version work fast on any files.

BracketFormat (v0.2 2007-11-22) (hofl)
This (user-)script formats a braket-structure in a for human readable style. Known brackets are "{" and "}". Brackets in quotes, in comment-blocks ("//" or "/*...*/") and excaped ones will ignored by the script.

Bulk Copy Files (joatmon)
A script to copy files in bulk using PSPad. Usage: Source Full Path and File Name and Extension, Destination Full Path (File Name and Extension optional), Overwrite. Delimiter "|". Full Instructions are incorporated as comments in the script.

Comments (Maleval)
Wrap a selection with HTML comments, multi-lines comments or single line comment. If there is no selection, comments are inserted at the cursor position. Can also remove comments tags only or all comments.(French, English, Spanish, German)

Count Words (james.swan)
Counts the number of words in the selected text of the active document. (This version is written using VBScript and Regular Expressions. If the previous JavaScript version is installed then it must be deleted before installing this one)

Create Tag (james.swan)
Converts the word left of the cursor into a tag and places the cursor between them. If the word ends with a blank space then no closing tag is added. If the word ends with a "." then an xml/xhtml style non-closing tag is added.

Cue Sheet to Label File Convertor (rsbrux)
CueSheetConvert.js converts cuesheets into Audacity label file format. ConvertCuesheetToLabels() converts the current file open in PSPad. ConvertCuesheetProjectToLabels() converts all .cue files in the loaded project, but only in PSpad 4.5.2.

Database access (DonQuichote)
A database menu for PSPad. Execute queries through ODBC, escape strings for use with SQL statements, and find table names from SQL strings within code.
The ODBC string is set in the top part of the script, so just edit it to configure it.
Beware: VB

del-end (Serge Balance)
Delete from cursor position to the end of line. Ctrl-K as in FAR editor. For Ctrl-K working you should unregister it from Reformat Paragraph. Any case that option always inactive.

EncryptJS (v1.0, 2007-10-12) (hofl)
This userscript creates an encrypted version of your javascript-file and generates a small labyrinth of encrypted js-files around it. An example is part of the ZIP-file. Script is cancelable now.

Insert Info Header (update - v0.6) (james.swan)
Inserts commented header information into the top of the active file with the filename, username, and dates automatically inserted. See the header of the script for further details and configuration.

JavaScript code beautifier (MrSpock)
A code beautifier for JavaScript and similar c-like languages. Original version by Lorin Thwaits, see http://geekswithblogs.net/lorint/archive/2006/07/17/85455.aspx

JSPacker (Janghou)
A Javascript packer.
This script will automatically compress your js file with two compressors: the Yahoo compressor and PHP Packer of Dean Edwards. It will also gzip files for comparison. See the header of the script for further details and config.

js_beautify (Mango_lier)
The ultimate JavaScript beautifier
Two plugins for beautifying minimized javascript.
The javascript and the php beautifier was taken from the
excellent work done by Einars "elfz" Lielmanis (http://elfz.laacz.lv/beautify/)

js_encode (MrSpock)
Adds several HTML/JavaScript specific encoding and decoding mechanisms to PSPad. Escape_HTML_Special() function added by Nelson. New version July 2011. Thanks to Nikolay Klinachyov.

js_eval (MrSpock)
Adds an option to evaluate the highlighted expression via the JScript eval method. The result can be output in three different ways. This can be handy for simple tests, but also as a calculator. - Improved version January 2007.

Language Tools (MrSpock)
Language tools for dictionary files. A set of rather simple scripts that can automatically add inflection suffixes to a list of words (provided they are inflected according to the same paradigm). ReadMe included.

LastModified (barbe bleue)
Generates a list of all files in a project sorted in reverse order by
last modification date.
Useful to retrieve the last changes you made and what files really need to be uploaded - without forgetting any

Link to clipboard (MrSpock)
This converts the selected text to a HTML link to the URL on the clipboard. For example, if you have http://www.pspad.com/ on the clipboard and select "PSPad" in the editor, you get <a href="http://www.pspad.com/">PSPad</a>. Requires PSPad build 2291

ListToCSV (kimgkimg)
Converts a list of multiple lines to a single line of items separated by commas.
eg.
alpha
beta
gamma
to "alpha,beta,gamma"
Useful when having to create CSV lists of items for things like SQL queries.

Multiple Paste (james.swan)
Pastes the selected text block a given number of times, each time on a new line and replaces any insertion markers in the text with either an incrementing number or a value from a comma delimited list.

New Cpp class 0.2 (alesc)
Create new class files(cpp, h) and optionally use PSPad templates as content for the files. Script searches for <sourceBasename>, <headerBasename>, <className>, <baseClassName>, <sourceFilename>, <headerFilename> strings in the template to replace with us

Open Linked File (update - v0.3) (james.swan)
Gets the HREF|SRC|ACTION|FILE|VIRTUAL attribute of the tag that the cursor is resting in and opens the file. If a file path or a part thereof is selected then this will also be treated as a relative path on the local machine/network

Proto (RussWilliams)
Proto is a script to help in writing programs. It looks up code snippets in a
database of keyword - snippet pairings and inserts the corresponding snippet in
the file being edited.

RegReplace (1.1, 2010-08-23) (hofl)
This script was made to enable the support for new-line-character while replacing text using regulare expressions. It was made, because of: missing feature in PSPad and adminrights-requirering DLL-install of phReplace.

runCMD (Run External Command) (jsherk)
This will allow you to specify an external command to be run by cmd.exe (ms-dos window). You can specify whether ms-dos window stays open or closes after the command completes, and also whether window is visible or hidden. Run single or multiple commands.

SAS utils (ckx)
A set of utility scripts for using PSPad with SAS programs. The zip file contains scripts for running SAS in batch mode (and automatically opening the log and lst files), for inserting date, file name, SAS comments, for getting a list of SAS macros in the

Sort Array Line (n4cer)
Perl users are often having arrays with many words in one line, as quotewords (QW) or quoted. Then it would be great to have those elements sorted for better code overview.
This script shall help you. Just mark the contents within the brackets and run

source code control (DonQuichote)
Access to source code control systems: Micrsoft SouceSafe (tested with 6.0), CVS and Subversion.
This package contains a script for each:
SsPsConn.vbs for SourceSafe,
cvscmd.vbs for CVS,
svncmd.vbs for Subversion.
They are also maintained in the subv

To-Do List Viewer (BadBoy)
Carney's ToDoListJS script heavily improved and enhanced. Now includes searching for ToDos in open projects, an open file or all open files. Bug reported in
http://forum.pspad.com/read.php?2,50573,50573#msg-50573 also fixed.

VBScript Indent - Updated 17.Feb.2015 (MARO)
Indent and beautify your VB-Script code. Before using make sure that the code contains no open expressions (like "For" without "Next") since otherwise you will get an error message.
Now supports also real tabs! See Readme.txt for more info.