Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Nifty new command window behavio(u)r

From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: Nifty new command window behavio(u)r
Date   Wed, 4 May 2005 08:48:06 -0700 (PDT)

Nick and other Stata users,

You can run selected lines of code directly from your text editor,
without having to copy and paste. This can be done with an AutoIt
script that is described in the text editors FAQ:

The document contains two scripts. The script for running individual
lines from a text editor is called rundolines.au3.

I just noticed that the links to download the scripts don't work.
Here are two other sites with the same document and with the correct

The AutoIt scripts work with Stata 7 and Stata 8 but it should not be
difficult to modify them for use with Stata 9.

Friedrich Huebler

--- Nick Winter <[email protected]> wrote:
> I note that (at least in Windows) the command window now allows you
> to paste multiple lines of commands, all at once.  That is, if you
> copy three 
> lines of code from a text file (or email or whatever) and then
> paste them 
> into the command window, they all appear in the window, and are
> executed in turn when you press Enter.
> Multiple lines can also be entered in the command window, separated
> by Ctrl-Enter, and only executed when Enter is pressed.
> This is very handy when executing a small bit of a .do file that is
> being 
> edited in something other than the DoEditor, because several lines
> can be Copied and Pasted all at once.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index