--- In [email protected], "brucexs" <bswit...@...> wrote:
>
> --- In [email protected], "pjagaraj.rm" <pjagaraj@> wrote:
> >
> > I have remote desktop spanned over two monitors. In my case, remote desktop 
> > is a window of size 2950x1024. Irritating thing with this is that when the 
> > child window opens (e.g. file dialog), it opens center of both the monitors 
> > (half in monitor 1 and other half in monitor 2). What I would like to do is 
> > to center the child window in the monitor where the parent is.
> > 
> > Basically, I need to determine the parent, parent windows position and 
> > based on that position the child window. In some cases the parent may not 
> > be hidden.
> > 
> > Is there a way to do it? I am playing with the plugins but so far I have 
> > not succeeded.
> 
> 
> I don't use remote desktop.   Possibly someone else does and can comment.
> 
> If no one does, do you know if commands like win.move work on the window on 
> the remove desktop?  autorun list?  Can you set up an autorun and see if it 
> detects windows on new desktop?  Can you  win.move to move it to top left 
> corner (0,0).  If that all works, you could probably write a script to get 
> get list of windows whenever a new one opens, check to see if new one is 
> owned by window you want (it would be a top level dialog owned by another 
> window, not a child window), then move it.
>
Thanks Bruce. I will give it a shot.

Reply via email to