Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: New package -textpad- on SSC

From   David Elliott <>
Subject   Re: st: New package -textpad- on SSC
Date   Thu, 18 Nov 2010 16:05:37 -0400

Note that if you just want to invoke the editor, you can insert into
your something like:

global F4 winexec "c:\Program Files\TextPad 5\TextPad.exe"';

to map a command macro to the F4 function key and your editor will
always be just a keystroke away.
[ note the terminating semi-colon which ensures the command executes
instead of just writing to the command line!! ]

I'll also put in my intermittent pitch for the NoteTab programmable
text editor which allows complex scripting actions to not only be done
on text, but also interacting with other programs without the use of
AutoIt scripts [ ] used by some other
text editors.  I have built of library of NoteTab scripts that allow
interaction with Stata and help in writing do/ado files advancing the
work or Ross Odell mentioned in the
[ ]
review.  By way of example, the following menu listing gives an idea
of the actions that are supported:

  About this Library...
 Do/Run/Test Commands
run all/selected
noisily run
do all/selected
do and don't stop
do to end
exec selected mata
Debug (trace on|off)
Cleanup (programs|logs)
Discard from Memory
Match brackets
Close Log
Strip #review numbers

Comment selection /**/
Add Comment to block
Uncomment a block

 Quick Reference
Math Functions
String Functions
Extended Functions
Hilited Keyword Help
Date/Time Ref.

 Programming Constructs
Ado Header

macro string quotes (`"`'"')
macro plain quotes (`')
macro dir (for debugging)

 Multi-line display cmd

List files
List do-files + *comments
List ado-files + /*comments*/
List all ado in subdirectories
Strip Log Cmds to File
Format Table for WP
Alternate Table Format
Stata Website Links

Open Command Log

NoteTab can be found at [ ]
The NoteTab Stata library is at:
[ ]

DC Elliott

On 17 November 2010 12:43, Roger Newson <> wrote:

    Thanks to Kit Baum, a new package -textpad- is now available for
download from SSC. In Stata, use the -ssc- command to do this.

    The -textpad- package is described as below on my website. It
allows the user to call TextPad from within Stata, as a user might
want to do if using TextPad as an alternative to the Stata do-file
editor. I would like to thank Nick Cox for suggesting this
possibility, for text editors in general, in the notes on text editors
for use with Stata at . . .
    package textpad from

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index