Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: create keyboard shotcuts on Apple Mac


From   Andrea Bennett <mac.stata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: create keyboard shotcuts on Apple Mac
Date   Wed, 16 Jul 2008 11:32:40 +0200

Well, I've finally managed to get my hand on a User's Guide copy! Simply put a global macro in the profile.do and it will work. For example, I've set up global macros for working directories, followed by -global F1 "do "$do_dir/textmatetostata.do";"- which will automatically execute the do-file when hitting -fn- & F1 on my Apple Mac keyboard. You have to keep in mind that Stata needs the global working paths set first before you can refer to them. Excluding the semicolon from the above global macro will prevent auto-execution of the do-file.

On Jul 9, 2008, at 2:57 PM, Andrea Bennett wrote:


assign keyboard shortcuts in Stata e.g. to automatically execute a do-file or else
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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