Statalist


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

Re: st: create keyboard shotcuts on Apple Mac


From   Andrea Bennett <[email protected]>
To   [email protected]
Subject   Re: st: create keyboard shotcuts on Apple Mac
Date   Wed, 9 Jul 2008 16:14:03 +0200

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:18 PM, Michael McCulloch wrote:


Andrea, on the Macbook Pro the keyboard shortcut to run a highlighted line(s) of a do-file is:
Apple-Shift-D.



Hi,

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.

So, if anyone knows how I can link a keyboard shortcut to execute a do-file, I would be very pleased!

Kind regards and many thanks for the consideraton,

Andrea
*
* 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/



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