Not sure if this obvious solution was discussed already, but here is
how it can be done:
1. minimize all programs but Stata (Win+M)
2. start do editor
3. Right-click the task bar and select "Tile windows vertically". This
will give 50% of screen space to Stata and 50% to the do-editor.
4. Adjust the size of each window to taste.
If you have a 24" monitor -- there will be plenty of space for both.
The "always-on-top" effect is reached because the Stata window and
do-editor window do not overlap.
A more complicated solution would be sending a windows message to the
do-editor window to be an always-on-top-window. Unfortunately Stata
does not provide handles for it's special sub-windows, (or to be more
precise not to all of them). Knowing this handle, a plugin could in
theory freeze such a window in any particular location on top of any
other windows.
I hope the solution above will help somebody and I keep on praying
that the viewer window will one day appear with a maximization
button...
Best regards, Sergiy Radyakin
On 4/2/08, Alan Neustadtl <[email protected]> wrote:
> I had a little money I could use for equipment and purchased a 24"
> monitor specifically so I could have my editor window always visible
> and still leave enough space for the results window. Programmers in
> the medical imaging center at Georgetown University, while not using
> Stata, have a similar issue. Some have chosen to use two smaller
> monitors (they have lots of hardware available to them); one for their
> editor and the other for their complier. They just move their mouse
> left or right to go between monitors. Many work places have old
> monitors that could cheaply be put to good use. They have done this
> using Windows based computers.
>
> Best,
> Alan
>
> On Wed, Apr 2, 2008 at 10:20 AM, Buzz Burhans <[email protected]> wrote:
> > I agree with you Alan. For my purposes, either a "pinned" window or "always
> > on top" window would work.
> >
> > Buzz Burhans, Ph.D.
> >
> > Dairy-Tech Group
> >
> > Twin Falls, ID
> > Phone: 208-320-0829
> > Fax: 208-735-1289
> >
> > So. Albany VT
> > Phone: 802-755-6842
> >
> > Email: [email protected]
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Alan Neustadtl
> > Sent: Wednesday, April 02, 2008 9:38 AM
> > To: [email protected]
> > Subject: Re: st: do editor (resized) pinned to always on top
> >
> > I think it would also be useful to be able to "pin" the window, like
> > help windows, command window, etc. in the general Stata object (frame,
> > whatever a programmer calls it). That is similar to always being on
> > top.
> >
> > Best,
> > Alan
> >
> > On Tue, Apr 1, 2008 at 6:52 AM, Buzz Burhans <[email protected]> wrote:
> > > Thanks for the tip Vladimir.
> > >
> > > I usually have ~6 programs/windows running simultaneously, and my
> > switching
> > > includes bouncing back and forth between the text editor as well as the
> > > Stata results window and the -do- file editor. Your tip works even when I
> > > have multiple windows to switch.
> > >
> > > Nonetheless, I still would like to see my resized -do- editor "always on
> > > top" in some instances, and hope StataCorp will consider making that
> > > possible.
> > >
> > > Thanks again for the tip.
> > >
> > >
> > > Buzz Burhans, Ph.D.
> > >
> > > Dairy-Tech Group
> > >
> > > Twin Falls, ID
> > > Phone: 208-320-0829
> > > Fax: 208-735-1289
> > >
> > > So. Albany VT
> > > Phone: 802-755-6842
> > >
> > > Email: [email protected]
> > >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[email protected]] On Behalf Of Vladimir
> > Vakhitov
> > > Sent: Monday, March 31, 2008 10:11 PM
> > > To: [email protected]
> > > Subject: Re: st: do editor (resized) pinned to always on top
> > >
> > > I use Alt+Tab to switch between windows. It's fast and the do-file
> > > doesn't clog the main window.
> > >
> > > I also created a small sound file and run it with -shell- command as
> > > the last command in the do-file every time when I run Stata in the
> > > background (or when the execution time is too long, so that I could do
> > > something else).
> > >
> > > Vladimir.
> > >
> > >
> > > 2008/3/31, Buzz Burhans <[email protected]>:
> > > > I have another request/suggestion loosely related to my posts earlier
> > > today
> > > > regarding troubleshooting -do- files. It would be very helpful if the
> > > -do-
> > > > file editor window could be pinned open or set to "always on top"
> > while
> > > > working with Stata. I usually resize it to a small portion of the
> > screen
> > > so
> > > > I can see my results screen while I run a selection from the do file
> > -but
> > > of
> > > > course when I navigate in the results window or another Stata window
> > the
> > > > -do- editor disappears to the task bar because it gets automatically
> > > > minimized.
> > > >
> > > > It would be a great asset to have the -do- editor window remain
> > visible.
> > > >
> > > > Thanks for listening, and again, no response is necessary.
> > > >
> > > > Buzz
> > > >
> > > > Buzz Burhans, Ph.D.
> > > >
> > > > Dairy-Tech Group
> > > >
> > > > Twin Falls, ID
> > > > Phone: 208-320-0829
> > > > Fax: 208-735-1289
> > > >
> > > > So. Albany VT
> > > > Phone: 802-755-6842
> > > >
> > > > Email: [email protected]
> > > >
> > > >
> > > > *
> > > > * 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/
> > > >
> > >
> > >
> > > --
> > > __________________
> > > Volodymyr Vakhitov
> > > [email protected]
> > > *
> > > * 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/
> > >
> > > _____________________________________________________________________
> > > Mensaje analizado y protegido por Telefonica Empresas
> > > *
> > > * 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/
> >
> *
> * 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/