|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: create keyboard shotcuts on Apple Mac
In my case, I use the Stata built-in editor, in which case
shift-apple-d works every time to run a line; you only have to
highlight one character within the line, which saves keystrokes.
While giving up the color-highlighting of other text editors, I'm
also avoiding the complexity of non-Stata editors on the Mac which I
haven't yet solved... (namely, getting them to integrate with stata
for running lines!).
Thanks for the info so far!
In my case I work with TextMate as an external editor. Quite
frequently TextMate does not execute the the do-file when selecting
only one line within a do-file (when executing a single line in
TextMate the highlighted line simply is copied to a do-file called
textmatetostata.do and then executed). The code gets copied into the
textmatetostata.do so executing this file results in what I need but
I always have to switch back to TextMate and select that file and
execute it. So, if I could simply create a shortcut (like a global
macro) for executing the textmatetostata.do within Stata, that would
do the trick.
Kind regards,
Andrea
On Jul 9, 2008, at 3:21 PM, Ronan Conroy wrote:
On 9 Jul 2008, at 13:57, Andrea Bennett wrote:
I guess it is possible to assign keyboard shortcuts in Stata e.g.
to automatically execute a do-file or else. Unfortunately, I don't
have a User's Guide and a web search did not come up with the
solution either.
Double-clicking a do-file will automatically execute it (so
command-O will also do this).
Ronan Conroy
=================================
[email protected]
Royal College of Surgeons in Ireland
Epidemiology Department,
Beaux Lane House, Dublin 2, Ireland
+353 (0)1 402 2431
+353 (0)87 799 97 95
http://www.flickr.com/photos/ronanconroy/sets/72157601895416740/
P Before printing, think about the environment
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/