[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Adding an editor to your menu system (Jaguar)
Having read the link provided below by Nick Cox, I am slightly confused.
There is an entry for "Adding an editor to your menu system" which says to
add the following line to profile.do (w/ adjustments for your system, of
qui window menu append string "Edit" "&P Pfe" "winexec \program
Can you use a similar statement on Mac OS X (Jaguar)? If so, what would
replace "winexec" in this statement?
My confusion arises b/c under the Macintosh Editors section, it says:
Unfortunately, the Stata commands that permit you to communicate with the
operating system (i.e., shell, xshell and winexec) are not available on the
Macintosh. Thus, in order to switch to an external editor easily from within
Stata, you must use one of the many third-party utilities that permit you to
launch an application using a particular combination of keystrokes.
I am afraid I am not tech-savvy enough to understand if this is referring to
the same capability. As I understand it, the addition to profile.do above
would enable the user to launch the selected text editor from w/in Stata.
Here, it appears this is not possible on a Mac. Have I understood this
When would I use the suggested script:
tell application "Stata"
open file myfile
Thanks for any input.
Danielle H. Ferry
National Bureau of Economic Research
365 Fifth Avenue, 5th Floor
New York, NY 10016
On 3/26/03 11:11 AM, "Nick Cox" <email@example.com> wrote:
> Thanks to Kit Baum, the FAQ at
> has been updated: there is a new entry on SlickEdit
> (thanks to John Kalat) and an revision on UltraEdit
> (thanks to Devra Golbe, Timothy Wade).
* For searches and help try: